实验13 vlan中继协议VTP
网络拓扑图:
SW-Core
命令:
interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport mode trunk
interface FastEthernet0/3
switchport mode trunk
interface FastEthernet0/7
switchport access vlan 10
!
interface FastEthernet0/8
switchport access vlan 20
!
interface FastEthernet0/9
switchport access vlan 30
!
interface FastEthernet0/10
switchport access vlan 40
!
interface FastEthernet0/11
switchport access vlan 50
!
interface FastEthernet0/12
switchport access vlan 60
10 ipdata active Fa0/7
20 VLAN0020 active Fa0/8
30 VLAN0030 active Fa0/9
40 VLAN0040 active Fa0/10
50 VLAN0050 active Fa0/11
60 VLAN0060 active Fa0/12
SW-Core#sh vtp status
VTP Version : 2
Configuration Revision : 0
Maximum VLANs supported locally : 255
Number of existing VLANs : 12
VTP Operating Mode : Server
VTP Domain Name : ipdata
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x69 0xCE 0x91 0x5A 0x40 0x39 0x4B 0x77
Configuration last modified by 0.0.0.0 at 3-1-93 00:05:45
Local updater ID is 0.0.0.0 (no valid interface found)
客户端
hostname SW-3
interface FastEthernet0/1
switchport mode trunk
interface FastEthernet0/2
switchport mode trunk
SW-3#sh vtp status
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 255
Number of existing VLANs : 12
VTP Operating Mode : Client
VTP Domain Name : ipdata
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0xBD 0x6D 0x5E 0x14 0x7B 0x72 0xD2 0x0D
Configuration last modified by 0.0.0.0 at 3-1-93 00:24:01
SW-3#
注意:要恢复客户模式为服务器模式。可以使用
NO VTP MODE