思科交换机VLAN划分:
SW1:
int f0/1
swit mode acc
swit acc vlan 20
exit
int f0/2
swit mode acc
swit acc vlan 10
exit
int f0/3
switchport mode trunk(打开中继链路)
SW2:
int f0/3
swit mode acc
swit acc vlan 20
exit
int f0/2
swit mode acc
swit acc vlan 10
exit
int f0/1
switchport mode trunk
PS:swit 为switchport缩写;acc为access缩写。在全局模式下进行