交换技术之 交换机间同步 Vlan 配置信息 VTP
1. 目的:
2. 原理:
3. 拓扑图:
4. 配置命令:
5. 配置步骤:
- VTP-SERVER#sh vtp status
- VTP Version : 2
- Configuration Revision : 5
- Maximum VLANs supported locally : 255
- Number of existing VLANs : 6
- VTP Operating Mode : Server
- VTP Domain Name : frogtwo
- VTP Pruning Mode : Disabled
- VTP V2 Mode : Enabled
- VTP Traps Generation : Disabled
- MD5 digest : 0x34 0xE5 0x00 0x77 0x70 0xBC 0x8A 0xBC
- Configuration last modified by 0.0.0.0 at 3-1-93 00:12:32
- Local updater ID is 0.0.0.0 (no valid interface found)
- VTP-SERVER#
--------------------------------------------------------------------------
#必须保证交换机间的链路是 Trunk ,否则无法同步 Vlan 信息
- VTP-SERVER#sh interfaces trunk
- Port Mode Encapsulation Status Native vlan
- Fa0/1 on 802.1q trunking 1
- Fa0/2 on 802.1q trunking 1
- Port Vlans allowed on trunk
- Fa0/1 1-1005
- Fa0/2 1-1005
- Port Vlans allowed and active in management domain
- Fa0/1 1,10
- Fa0/2 1,10
- Port Vlans in spanning tree forwarding state and not pruned
- Fa0/1 1,10
- Fa0/2 1,10
- VTP-SERVER#
- VTP-CLIENT1#sh vtp status
- VTP Version : 2
- Configuration Revision : 5
- Maximum VLANs supported locally : 255
- Number of existing VLANs : 6
- VTP Operating Mode : Client
- VTP Domain Name : frogtwo
- VTP Pruning Mode : Disabled
- VTP V2 Mode : Enabled
- VTP Traps Generation : Disabled
- MD5 digest : 0x34 0xE5 0x00 0x77 0x70 0xBC 0x8A 0xBC
- Configuration last modified by 0.0.0.0 at 3-1-93 00:12:32
- VTP-CLIENT1#
--------------------------------------------------------------------------
- VTP-CLIENT1#show interfaces trunk
- Port Mode Encapsulation Status Native vlan
- Fa0/1 on 802.1q trunking 1
- Port Vlans allowed on trunk
- Fa0/1 1-1005
- Port Vlans allowed and active in management domain
- Fa0/1 1,10
- Port Vlans in spanning tree forwarding state and not pruned
- Fa0/1 1,10
- VTP-CLIENT1#
- VTP-CLIENT2#sh vtp status
- VTP Version : 2
- Configuration Revision : 5
- Maximum VLANs supported locally : 255
- Number of existing VLANs : 6
- VTP Operating Mode : Client
- VTP Domain Name : frogtwo
- VTP Pruning Mode : Disabled
- VTP V2 Mode : Enabled
- VTP Traps Generation : Disabled
- MD5 digest : 0x34 0xE5 0x00 0x77 0x70 0xBC 0x8A 0xBC
- Configuration last modified by 0.0.0.0 at 3-1-93 00:12:32
- VTP-CLIENT2#
--------------------------------------------------------------------------
- VTP-CLIENT2#show interfaces trunk
- Port Mode Encapsulation Status Native vlan
- Fa0/1 on 802.1q trunking 1
- Port Vlans allowed on trunk
- Fa0/1 1-1005
- Port Vlans allowed and active in management domain
- Fa0/1 1,10
- Port Vlans in spanning tree forwarding state and not pruned
- Fa0/1 1,10
- VTP-CLIENT2#
#
来源: http://www.bubuko.com/infodetail-2138553.html