eNSP同网段PC机互联操作

system-view
vlan 10 / vlan 20
quit (可打可不打)
interface  Ethernet 0/0/1(0/0/2........)
port link-type access 
port default vlan 10

system-view
interface GigabitEthernet 0/0/2
port link-type trunk
port trunk allow-pass vlan10  20
 
效果:同网段的PC机可以互ping,不同网段无法互ping。

猜你喜欢

转载自www.cnblogs.com/YoLenLy/p/11725603.html