Configure VTP and VLAN

Configure VTP.
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vtp domain CISCO
Changing VTP domain name from MASTER to CISCO
Switch(config)#vtp mode server
Device mode already VTP Server for VLANS.
Switch(config)#vtp password CISCO
Setting device VTP password to CISCO
Switch(config)#vtp version 2
VTP version is already in V2.

Configure Vlan.
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name ACCOUNTING
Assign ports to a vlan.
Switch(config-vlan)#int range giga0/1-10
Switch(config-if-range)no shutdown
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exit
Switch(config)#do show vlan br

0 Comments:

Post a Comment