Professional Documents
Culture Documents
Ccnav3.3 308
Ccnav3.3 308
Table of Content
1 VTP 2 Inter-VLAN routing overview 3 VLAN troubleshooting
VTP
VTP concepts
The role of VTP is to maintain VLAN configuration consistency across a common network administration domain. VTP is a messaging protocol that uses Layer 2 trunk frames to manage the addition, deletion, and renaming of VLANs on a single domain.
VTP Modes
Creates VLANs Modifies VLANs Deletes VLANs Sends/forwards advertisements Synchronizes Saved in NVRAM Creates VLANs Forwards advertisements Synchronizes Not saved in NVRAM Modifies VLANs Deletes VLANs Forwards advertisements Does not synchronize Saved in NVRAM
6
VTP Operation
VTP advertisements are sent as multicast frames. VTP servers and clients are synchronized to the latest revision number. VTP advertisements are sent every 5 minutes or when there is a change.
VTP Pruning
Increases available bandwidth by reducing unnecessary flooded traffic Example: Station A sends broadcast, and broadcast is flooded only toward any switch with ports assigned to the red VLAN
Summary advertisements
Summary Advertisement 1 2 3 Followers 4 MgmtD len Version Code
Management domain name (zero-padded to 32bytes) Configuration revision number Updater identify Update timestamp (12 bytes) MD5 digest (16 bytes)
1
Advertisement request
Subset advertisement
Subset Advertisement 1 2 3 Seq-Num 4 MgmtD len Version Code
Management domain name (zero-padded to 32bytes) Configuration revision number Vlan-info field 1 : Vlan-info field N
1
VTP configuration
Switch# vlan database Switch(vlan)# vtp v2-mode Switch(vlan)# vtp domain cisco Switch(vlan)# vtp client/server/transparent Switch# show vtp status Switch# show vtp counters
Catalyst 2950
wg_sw_2950#vlan database wg_sw_2950(vlan)#vtp [ server | client | transparent ] wg_sw_2950(vlan)#vtp domain domain-name wg_sw_2950(vlan)#vtp password password wg_sw_2950(vlan)#vtp pruning wg_sw_2950(vlan)#snmp-server enable traps vtp wg_sw_2950(vlan)#exit
1
VLAN-to-VLAN Overview
Router(config)# interface fastethernet port-number. Subinterfacenumber Router(config-if)#encapsulation dot1q/isl vlannumber Router(config-if)#ip address x.x.x.x y.y.y.y
TROUBLESHOOTING VLAN
Setting threshold values to high or low discards excessive broadcast, multicast, or unicast MAC traffic. Minimize the STP processes occurring between devices.
Troubleshooting VLANs
Scenario 1: A trunk link cannot be established between a switch and a router 1. Make sure that the port is connected and not receiving any physical-layer, alignment or frame-check-sequence (FCS) errors. 2. Verify that the duplex and speed are set properly between the switch and the router. 3. Configure the physical router interface with one subinterface for each VLAN that will route traffic. 4. Confirm that the router is running an IOS release that supports trunking.
2
Scenario 2: VTP is not correctly propagating VLAN configuration changes 1. Make sure the switches are connected through trunk links. 2. Make sure the VTP domain name is the same on all switches that need to communicate with each other. 3. Check the VTP mode of the switch. 4. If using VTP passwords, the same password must be configured on all switches in the VTP domain.
2
Summary
Definition of VLAN Trunking Protocol (VTP) Configuring inter-VLAN routing using subinterfaces on a router port
Q&A