Implement VTP LAN Switching and Wireless – Chapter 4 ITE I Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 1 Objectives 1. 4.1 What is VTP? 2. 4.2 VTP Operation 3. 4.3 Configure VTP ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 2 What is VTP? you may want to know if there is a way for the switches to learn what the VLANs and trunks are so that you do not have to manually configure them. You are ready to learn about VLAN trunking protocol (VTP). ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 3 ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 4 VTP Components ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 5 4.2.1 Default VTP Configuration ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 6 4.2.2 VTP Domains ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 7 VTP Domain Name Propogation ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 8 4.2.3 VTP Advertising A VTP frame consists of a header field and a message field. The VTP information is inserted into the data field of an Ethernet frame. The Ethernet frame is then encapsulated as a 802.1Q trunk frame (or ISL frame). Each switch in the domain sends periodic advertisements out each trunk port to a reserved multicast address. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 9 ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 10 VTP Revision Number The configuration revision number is a 32-bit number that indicates the level of revision for a VTP frame. The default configuration number for a switch is zero. Each time a VLAN is added or removed, the configuration revision number is incremented. Note: A VTP domain name change does not increment the revision number. Instead, it resets the revision number to zero. The configuration revision number determines whether the configuration information received from another VTP-enabled switch is more recent than the version stored on the switch. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 11 VTP Revision Number ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 12 Summary Advertisements ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 13 Subset Advertisements ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 14 Request Advertisements ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 15 VTP Modes • Creates VLANs • Modifies VLANs • Deletes VLANs • Sends and forwards advertisements • Saved in NVRAM • Default mode • Creates local VLANs only • Cannot create, change, or delete VLANs • Modifies local VLANs only • Deletes local VLANs only • Forwards advertisements after taking a copy. • Doesn’t advertise local configuration. • Sends and forwards advertisements without being affected • Not saved in NVRAM ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. • Saved in NVRAM Cisco Public 16 4.2.4 VTP Modes ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 17 4.2.5 VTP Pruning VTP pruning permits switches to negotiate which VLANs are assigned to ports at the other end of a trunk and, hence, prune the VLANs that are not assigned to ports on the remote switch. ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 18 Creating a VTP Domain wg_sw_2950#config terminal wg_sw_2950(config)#vtp domain <domain-name> wg_sw_2950(config)#vtp mode [ server | client | transparent ] wg_sw_2950(config)#vtp password <password> ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 19 4.3.2 Troubleshooting VTP Configurations ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 20 Incorrect VTP Domain Name ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 21 Switches Set to VTP Client Mode ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 22 4.3.3 Managing VLANs on a VTP Server ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 23 ITE 1 Chapter 6 © 2006 Cisco Systems, Inc. All rights reserved. Cisco Public 24