Professional Documents
Culture Documents
VLAN
VLAN
exit
conf t
vlan 20
name VLAN20
exit
conf t
vlan 30
name VLAN30
exit
interface range fastEtahernet0/3-5
switchport mode access
switchport access vlan 10
exit
ctrl + z
wr
switch 2
conf t
vlan 10
name VLAN10
exit
conf t
vlan 20
name VLAN20
exit
conf t
vlan 30
name VLAN30
exit
interface range fastEtahernet0/3-5
switchport mode access
switchport access vlan 10
exit
ctrl + z
wr
Main switch
conf t
vlan 10
name VLAN10
exit
conf t
vlan 20
name VLAN20
exit
conf t
vlan 30
name VLAN30
exit
interface range fastEtahernet0/3-5
switchport mode access
switchport access vlan 10
exit
ctrl + z
wr
for switch 1 port 1 trunk, switch 2 port 1 trunk and main switch port 1,2,6 trunk
router 0
no
en
conf t
inft g0/0
no ip address
no sh + TAB
inft g0/0.10
encaplsulation dot1Q 10
ip address 192.168.10.1 255.255.255.0
inft g0/0.20
encaplsulation dot1Q 20
ip address 192.168.20.1 255.255.255.0
inft g0/0.30
encaplsulation dot1Q 30
ip address 192.168.30.1 255.255.255.0