SW1:
system-view
Vlan 10
Vlan 20
Int e0/0/1
Port link-t acc
Port defau vlan 10
Int e0/0/2
Port hy pvi vlan 20
Port hy un vlan 20
Int g0/0/1
Port link-t tr
Port tr all vlan 10 20
SW2:
system-view
Vlan 10
Vlan 20
Int e0/0/3
Port hy pvid vlan 10
Port hy un vlan 10
Int e0/0/4
Port link-t acc
Port de vlan 20
Int g0/0/2
Port hy ta vlan 10 20
SW3:
system-view
Vlan 10
Vlan 20
Int g0/0/1
Port link-t tr
Port tr all vlan 10 20
Int g0/0/2
Port hy ta vlan 10 20
Int vlan 10
Ip add 192.168.10.1 24
Int vlan 20
Ip add 192.168.20.1 24