VLAN Trunking Protocol Basics - Adminstering VLANS using VTP
MCSE, CISSP, Security+, Network+, A+ Certification Practice Exams, Study Guides and Vouchers Sign Up | Login   
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
Free Study Guides Practice Exams Audio Training Exam Vouchers Video Training Free White Papers
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE CCNA  A+ CERTIFICATION NETWORK+ ETHICAL HACKER SECURITY+   CISSP   CCNP MORE...
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
NETWORK

VLAN Trunking Protocol Basics - Adminstering VLANS using VTP

Email this ArticleEmail this Article  Print this ArticlePrint this Article

• Relates to: CCNA | CCDA | CCNP | CCDP | CCIP

In last week's newsletter, I wrote about configuring VLANs and trunking on Cisco switches. For a small environment, it is relatively easy to segment the network into smaller collision domains using VLANs. In a large campus environment with a large number of switches, it becomes difficult to maintain VLANs across the LAN. This week's newsletter will discuss how the VLAN Trunking Protocol (VTP) makes the administration of VLANs easier an environment with multiple Catalyst switches.

The core principle of VTP is that interconnected switches are configured to belong to the same VTP domain (sometimes referred to as a VLAN management domain). The VTP domain is a logical group of switches that will share VLAN information. Each switch can only belong to a single VTP domain. The switches in a VTP domain must be adjacent, and the links connecting the switches must be configured for trunk mode (we learned how to set up trunking last week).

Swtiches that are members of a VTP domain can be set up in one of three possible modes:

1) VTP Server
Maintains the VLAN database. VLAN information is stored in NVRAM (flash). VLANs can be created, deleted and edited on the server.

2) VTP Client
Maintains the database but does not store the information in NVRAM. VLANs cannot be created, deleted and edited on clients.

3) Transparent
Does not participate in the VTP domain. VTP advertisements are forwarded. VLANs can be created, deleted and edited, but are local to the switch only. Local VLAN information is stored in NVRAM.

Switches are configured to be VTP servers without a VTP domain by default. To join a VTP domain, the switch must be manually configured, or by connecting the switch to a VTP domain by a trunk port (the switch will receive domain information via a VTP advertisement).

When changes are made to a VLAN configuration on a VTP server, VTP advertisements are sent out all trunk ports to propagate the changes to the rest of the domain. VTP advertisements can be sent over ISL, 802.1q, 802.10 and LANE trunks. VTP traffic is sent over the management VLAN (VLAN1), so all trunks must be configured to pass VLAN1.

To track changes to the VLAN configuration, VTP relies on a revision number. When a VTP domain is initially configured, the revision number is 0. Each time the VLAN database is edited the revision number is incremented by 1. If a switch receives a VTP advertisement with a higher revision number, the information in the advertisement overwrites the information stored in NVRAM. Before a switch is added to a VTP domain, the VTP revision number should be cleared for this very reason. You can zero the revision number by changing the switch to transparent mode and then back to server mode, change the VTP domain name to a non-existent name and then back to the original, issue a clear config all command and reboot the switch (note that this will erase the entire switch configuration).

To configure an IOS based switch to be a VTP server, issue the following commands:

SwitchA# vlan database
SwitchA(vlan)# vtp domain vtpdom
SwitchA(vlan)# vtp server
SwitchA(vlan)# exit

These commands configure the switch to be a VTP server in the VTP domain vtpdom. The changes are saved and the revision number is incremented when the exit command is issued.

To view the VTP configuration on a switch, the command "show vtp status" is used (on an IOS based switch).

This week I wrote about the basics of setting up VTP to centralize the management of VLANs on a network. There is a lot more to setting up VLANs and VTP. The Cisco website is an excellent source of information. The link below provides information about VLAN and VTP concepts and configurations.


Related Links

Cisco's Understanding and Configuring VLAN Trunk Protocol (VTP)


 Subscribe to our Free Must Know News Newsletter
 Name:     Email:  
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification

KEYWORD
 
What is this?
Microsoft, CompTIA, Cisco Realistic Practice Exams
Microsoft, CompTIA, Cisco Realistic Practice Exams
Microsoft, CompTIA, Cisco Realistic Practice Exams
FREE STUDY GUIDES
FREE RESOURCES
FREE QUESTIONS >>
HOME
CERTIFICATIONS
VIDEO TRAINING
PRACTICE EXAMS
AUDIO TRAINING
EXAM VOUCHERS
FREE IT MAGAZINES
CERT COMPARISON
EXAM COMPARISON
SALARY SURVEY
CAREER TRACKS
ARTICLE DIRECTORY
WHITE PAPERS
QUESTION OF THE DAY
NEWSLETTER
ADVERTISE
Industry Updates &
Special Offers
Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
Picks for July
Untitled Document > Persistent Group Chat: An Approach for More Profitable Team Communications : Unlike email, instant messages (IMs) do not allow group communication; nor do they persist -- you can't hold on to them for as long as you wish. Persistent group chat, however, allows businesses to organize persistent dialogue around business-critical topics, and keep them for easy retrieval later.

> Recent White Papers
> NetworkWorld - FREE Subscription Center

> Never Open a Book Again! LearnSmart Video Training for A+, CCNA, Network+ and more.

> Pass Guaranteed: Hundreds of practice exam questions and the most authentic exam simulation.

> Lecture Series audio: Learn at home, on your iPod or while driving to work.

> PMP: Learn everything for the Project Management Professional (PMP) certification

> Quiz Me Series Audio: Rapid-fire question and answer session training

Marketplace

IT Certifications may waive some degree requirements for an online degree. Free catalog!
For several of the IT degrees at WGU, if you hold a relevant IT certification (such as MCSE), you automatically clear a significant portion of the degree requirements. Don't hold an IT certification yet? Don't worry. Not every WGU degree program requires an IT certification in advance. You can earn both at the same time. Lower tuition too!

Earn an online bachelor's degree in Information Technology plus eight IT certifications
Including CompTIA, MySQL Core, and Sun Certified Programmer for the Java Platform. Your prior college and IT certifications may waive some degree requirements; however, you do not have to hold a major certification to enroll.


Earn an affordable, online bachelor's degree in Information Technology—Security Emphasis
plus nine IT certifications including Sun Certified Programmer for the Java Platform, MySQL Core, and Security+. Your prior college and IT certifications may waive some degree requirements

FREE subscription to Network World.
Your complimentary subscription will include 50 weekly issues jam packed with news analysis, expert industry opinion and management/career advice, all of which is packaged with your business needs in mind. We want to help you connect the technology dots and help you advance your company's business goals




Sponsored Link

MCSE, CCNA, CCNP, Security+, Network+, A+ Certification
Free Certification Training Free Certification Training Free Study Guides
   © 1999 - 2008 CramSession. All Rights Reserved. Home   Advertise   Corporate Info   Opportunities   Help