Switch setup
Create VLANS
Switch>enable
Switch#configure terminal
Switch(config)#vlan 10,20,30,40,50,60,70
Switch(config-vlan)#exit
Switch(config)#do show vlanSetting up access and trunk ports.
Switch>en
Switch#conf t
Switch(config)#interface range e0/0-2
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#interface range e1/0-1
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 20
Switch(config)#interface e0/3
Switch(config-if)#switchport mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if-range)#interface e1/2
Switch(config-if)#switchport trunk encapsulation dot1q
Switch(config-if)#switchport mode trunk
Switch(config-if)#do writeНастройка VTP
Last updated