OmniSecu.com Logo  
omnisecu.com free mcse ccna rhce linux java learning
omnisecu.com free mcse ccna rhce linux java learning
          Sharefacebook twitter google+ google bookmark yahoo bookmark delicious digg linkedin pinterest reddit stumbleupon evernote diigo blinklist blogmarks livejournal email feed

Tutorials

How to configure VLAN Trunking Protocol (VTP)

External Resources

Refer the simple switching lab setup shown below. We have already created VLAN 10 and VLAN 20 in Switch 1. Click the following links to learn how to create and name VLAN and what is VLAN Trunking Protocol

Here we are going to configure Switch 1 as VTP server and Switch 2 as VTP client.

VLAN trunking Protocol configuration

 

Open a console connection to Switch 1 and enter the following IOS commands from global configuration mode to configure VLAN Trunking Protocol (VTP) in Switch 1. Here we configure the VTP domain as 'omnisecu.com', VTP mode as 'Server' and VTP password as 'omnisecupass'.

omnisecu.com.sw01>enable
omnisecu.com.sw01#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
omnisecu.com.sw01(config)#vtp domain omnisecu.com
Changing VTP domain name from NULL to omnisecu.com
omnisecu.com.sw01(config)#vtp mode server
Device mode already VTP SERVER.
omnisecu.com.sw01(config)#vtp password omnisecupass
Setting device VLAN database password to omnisecupass
omnisecu.com.sw01(config)#exit
omnisecu.com.sw01#

Open a console connection to Switch 2 and enter the following IOS commands from global configuration mode to configure VLAN Trunking Protocol (VTP) in Switch 2. Here we configure the VTP domain as 'omnisecu.com', VTP mode as 'Client' and VTP password as 'omnisecupass'.

omnisecu.com.sw02>enable
omnisecu.com.sw02#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
omnisecu.com.sw02(config)#vtp domain omnisecu.com
Domain name already set to omnisecu.com.
omnisecu.com.sw02(config)#vtp mode client
Setting device to VTP CLIENT mode.
omnisecu.com.sw02(config)#vtp password omnisecupass
Setting device VLAN database password to omnisecupass
omnisecu.com.sw02(config)#exit
omnisecu.com.sw02#

Once the VLAN Trunking Protocol (VTP) is configured on Switch 2, run the 'show vlan' command from  privileged mode on Switch 2 to make sure that the VLAN configuration information is propagated from Switch 1 to Switch 2.

omnisecu.com.sw02#show vlan
VLAN Name                             Status    Ports
---- -------------------------------- --------- -------------------------------
1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4
                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8
                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12
                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16
                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20
                                                Fa0/21, Fa0/22, Fa0/23
10   engineering                      active
20   planning                         active
1002 fddi-default                     act/unsup
1003 token-ring-default               act/unsup
1004 fddinet-default                  act/unsup
1005 trnet-default                    act/unsup
VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1    enet  100001     1500  -      -      -        -    -        0      0
10   enet  100010     1500  -      -      -        -    -        0      0
20   enet  100020     1500  -      -      -        -    -        0      0
1002 fddi  101002     1500  -      -      -        -    -        0      0 
1003 tr    101003     1500  -      -      -        -    -        0      0 
1004 fdnet 101004     1500  -      -      -        ieee -        0      0 
1005 trnet 101005     1500  -      -      -        ibm  -        0      0 
Remote SPAN VLANs
------------------------------------------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------
              Jajish Thomason Google+
Related Topics
• What is Virtual Local Area Network (VLAN)
• Advantages of VLAN
• How to create and name static VLAN
• How to view VLAN information using "show vlan" command
• Types of VLAN connection links - Trunk Links and Access Links
• VLAN Frame Tagging
• Inter-Switch Link (ISL) VLAN Tagging
• IEEE 802.1Q VLAN Tagging
• What is Native VLAN
• How to configure VLAN trunk link and native VLAN
• How to configure and assign a switch access port to a VLAN
• What is VLAN Trunking Protocol (VTP)
• What is VLAN Trunking Protocol (VTP) Domain
• VLAN Trunking Protocol (VTP) Modes
• VLAN Trunking Protocol (VTP) Advertisement Messages
• How to view VLAN Trunking Protocol (VTP) information
• What is VLAN Trunking Protocol (VTP) Pruning
comments powered by Disqus


eXTReMe Tracker DMCA.com