欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

思科Cisco交換機配置——VTP管理交換機的VLAN配置實驗操作詳解

  發(fā)布時間:2020-02-20 14:09:42   作者:Stalk   我要評論
這篇文章主要介紹了思科Cisco VTP管理交換機的VLAN配置,結(jié)合實驗案例形式分析了VTP管理交換機的VLAN配置具體操作步驟、相關(guān)命令與使用技巧,需要的朋友可以參考下

本文講述了思科Cisco VTP管理交換機的VLAN配置。分享給大家供大家參考,具體如下:

一、實驗?zāi)康?/strong>:將S1配置成VTP-Server,S2配置成VTP-Transparent,S3配置成VTP-Client,S4配置成VTP-Client

二、拓撲圖如下

三、具體步驟:

(1)S1交換機的配置

Switch>enable  --進入特權(quán)模式
Switch#config terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1  --修改交換機名為S1
S1(config)#vtp domain test  --創(chuàng)建test域
Changing VTP domain name from NULL to test
S1(config)#vtp mode server  --設(shè)置S1為Server 
Device mode already VTP SERVER.
S1(config)#vlan 7  --創(chuàng)建并進入vlan 7端口,并開啟
S1(config-vlan)#vlan 8  --創(chuàng)建并進入vlan 8 端口,并開啟
S1(config-vlan)#interface f0/1  --進入f0/1端口
S1(config-if)#switchport mode trunk  --將端口改為trunk模式

S1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

(2)S2交換機的配置

Switch#enable  --進入特權(quán)模式
Switch#config terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S2  --修改交換機名為S2
S2(config)#vtp mode transparent  --將S2設(shè)置為Transparent
Device mode already VTP TRANSPARENT.
S2(config)#interface range f0/1-2  --進入f0/1和f0/2端口
S2(config-if)#switchport mode trunk  --將端口改為trunk模式

(3)S3交換機配置

Switch#enable  --進入特權(quán)模式
Switch#config terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S3  --修改交換機名為S3
S3(config)#vtp mode client  --將S3設(shè)置為Client
Device mode already VTP CLIENT.
S3(config)#interface range f0/1-2   --進入f0/1和f0/2端口

S3(config-if)#switchport mode trunk  --將端口改為trunk模式

(4)S4交換機配置

Switch#enable  --進入特權(quán)模式
Switch#config terminal  --進入全局配置模式
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S4  --將交換機名修改為S4
S4(config)#vtp mode client  --將S4設(shè)置為Client
Device mode already VTP CLIENT.
S4(config)#interface f0/1  --進入f0/1端口
S4(config-if)#switchport mode trunk  --將端口改為trunk模式

四、驗證,分別在各臺交換機上查看VLAN

(1)S1

(2)S2

 

 解釋:S2因為是隱藏模式,所以看不見vlan 7vlan 8

(3)S3

 解釋:S3是客戶端模式所以可以查看到vlan 7vlan 8

(4)S4

 解釋:S4因為是客戶端模式,所以可以查看到vlan 7vlan 8

相關(guān)文章

最新評論