eNSP同网段PC机互联操作
system-view
vlan batch 10 20
interface Ethernet 0/0/1
port link-type access
port default vlan 10
interface Ethernet 0/0/2
port link-type access
port default vlan 10
port link-type access
port default vlan 10
interface Ethernet 0/0/3
port link-type access
port default vlan 20
port link-type access
port default vlan 20
interface Ethernet 0/0/4
port link-type access
port default vlan 20
quit
port link-type access
port default vlan 20
quit
system-view
interface GigabitEthernet 0/0/2
port link-type trunk
port trunk allow-pass vlan10 20
interface GigabitEthernet 0/0/2
port link-type trunk
port trunk allow-pass vlan10 20