Professional Documents
Culture Documents
VLAN Lab
VLAN Lab
VLAN Lab
Switch:en
Switch:config t
Switch(config-vlan)#name students
Switch(config-vlan)#exit
Switch(config)#int
Switch(config-if)#switchport mode ?
Switch(config-if)#switchport access ?
Switch(config-if)#exit
Switch(config-if)#switchport mode ?
Switch(config-if)#switchport access ?
Switch(config-if)#exit
Switch(config-vlan)#name teachers
Switch(config-vlan)#exit
Switch(config)#int
Switch(config-if)#switchport mode ?
Switch(config-if)#switchport access ?
Switch(config-if)#exit
Switch(config-if)#switchport mode ?
Switch(config-if)#switchport access ?
Switch(config-if)#exit
for switch 1: Go to cli then types these commands according to your interface
for switch 2 : it has one pc(ip address :192.168.0.5) then make that pc part of vlan 10 through these
below commands
Switch(config-if)#switchport mode ?
Switch(config-if)#switchport access ?
Switch(config-if)#exit
Go to Switch(0) cli:
switch(config-if)#exit
switch(config-if)#exit
Go to router cli:
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config-if)#no shutdown
Router(config-if)#exit