007 Vlan config
sw0(config)#vlan 2
sw0(config-vlan)#name Sales
sw0(config-vlan)#vlan 3
sw0(config-vlan)#name Tech
sw0(config-vlan)#int range f0/2 - 3
sw0(config-if)#swi
sw0(config-if)#switchport access vlan 2
sw0(config-if)#int f0/3
sw0(config-if)#sw
sw0(config-if)#switchport access vlan 3
sw0(config-if)#int f0/1
sw0(config-if)#sw
sw0(config-if)#switchport trunk ?
allowed Set allowed VLAN
characteristics when interface is in trunking
mode
encapsulation Set trunking encapsulation when interface is in
trunking mode
native Set trunking
native characteristics when interface is in
trunking mode
sw0(config-if)#switchport trunk en
sw0(config-if)#switchport trunk encapsulation do
sw0(config-if)#switchport trunk encapsulation dot1q
sw0(config-if)#swit
sw0(config-if)#switchport mode tr
sw0(config-if)#switchport mode trunk
sw0(config-if)#do sh vlan
sw0(config)#vtp domain yanjin
Changing VTP domain name from NULL to yanjin
sw0(config)#vtp mode server
Device mode already VTP SERVER.
sw0(config)#vtp password yanjin
Setting device VLAN database password to yanjin
sw0(config)#
sw0(config)#vtp domain yanjin
Changing VTP domain name from NULL to yanjin
sw0(config)#vtp mode client
Device mode already VTP client.
sw0(config)#vtp password yanjin
Setting device VLAN database password to yanjin
sw0(config)#