配置命令:
LSW1:
system-view
vlan batch 10 20
interface ethernet 0/0/1
port link-type access
port default vlan 10
quit
interface ethernet 0/0/2
port link-type access
port default vlan 20
quit
gvrp
interface GigabitEthernet 0/0/1
port link-type trunk
port trunk allow-pass vlan all
gvrp
LSW2:
system-view
gvrp
interface GigabitEthernet 0/0/1
port link-type trunk
port trunk allow-pass vlan all
gvrp
interface GigabitEthernet 0/0/2
port link-type trunk
port trunk allow-pass vlan all
gvrp