Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Switch 0:

Switch>en
Switch#show vlan

Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name Green
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name Pink
Switch(config-vlan)#exit
Switch(config)#vlan 30
Switch(config-vlan)#name Blue
Switch(config-vlan)#exit
Switch(config)#exit
Switch(config)#int f0/1
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int f0/2
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#int f0/3
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int f0/4
Switch(config-if)#switch mode trunk
Switch(config-if)#exit
Switch 1:

Switch>en
Switch#show vlan

Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name Green
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name Pink
Switch(config-vlan)#exit
Switch(config)#vlan 30
Switch(config-vlan)#name Blue
Switch(config-vlan)#exit
Switch(config)#exit
Switch(config)#int f0/1
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int f0/2
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#int f0/3
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int f0/4-f0/5
Switch(config-if)#switch mode trunk
Switch(config-if)#exit
Switch 2:

Switch>en
Switch#show vlan

Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name Green
Switch(config-vlan)#exit
Switch(config)#vlan 20
Switch(config-vlan)#name Pink
Switch(config-vlan)#exit
Switch(config)#vlan 30
Switch(config-vlan)#name Blue
Switch(config-vlan)#exit
Switch(config)#exit
Switch(config)#int f0/1
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 10
Switch(config-if)#exit
Switch(config)#int f0/2
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#int f0/3
Switch(config-if)#switch mode access
Switch(config-if)#switchport access vlan 30
Switch(config-if)#exit
Switch(config)#int f0/4
Switch(config-if)#switch mode trunk
Switch(config-if)#exit

You might also like