Managing VLANs in a VTP enabled Network Explained

By | 9th November 2015



How To Manage VLANs in a VTP Enabled Network.

In the last few pages, we have learned how to manage VLANs in a VTP-enabled network. When a new VLAN, for example, VLAN 30, is added to the network, the network administrator adds the VLAN to the VTP server, switch SW1 in the diagram.

For the record, the primary function of VTP is to propagate the VLAN configuration details to the rest of the switches in the network. It does not have any effect on which ports are configured in VLAN 30 on switches SW1, SW2, and SW3.

Managing VLANs in a VTP enabled network



The following are the commands used to configure VLAN 10 and the port F0/18 on the server switch, SW1.

SW1#config t

SW1#(config)#vlan 30

SW1#(config-vlan)#name sales

SW1#(config-vlan)#exit

SW1#(config)#interface FastEthernet 0/18

SW1#(config-if)#switch access vlan 30

SW1#(config-if)#exist

SW1#(config)#exit

SW1#
After you have configured the new VLAN on switch SW1 and configured the ports on switches SW1, SW2, and SW3 to support the new VLAN, use the command; show VTP status to confirm that VTP updated the VLAN database on switches SW2 and SW3.

Also you have to confirm that the new VLAN 30 had been added to Fa0/1 on switch SW2. Use the command, show interface trunk on switch SW2 to verify.

It will display something like this:

SW#show interface 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, 20,30, 1002, 1003, 1004, 1005

Port         vlans in spanning tree forwarding state and not pruned

Fa0/1      1, 20,30, 1002, 1003, 1004, 1005

How To Configure Switch Security

VLAN Trunking

VLAN Trunking Protocol



Leave a Reply

Your email address will not be published. Required fields are marked *