Juniper Junos接口划vlan的方法

第1种方式 (新版本已不用)



set interfaces ge-0/0/0 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/2 unit 0 family ethernet-switching port-mode access


set vlans vlan601 interface ge-0/0/0.0
set vlans vlan601 interface ge-0/0/1.0
set vlans vlan601 interface ge-0/0/2.0

第2种方式

set interfaces ge-0/0/1 unit 0 family ethernet-switching port-mode access
set interfaces ge-0/0/1 unit 0 family ethernet-switching vlan members 149
上一篇:wpf集成声网sdk


下一篇:C# 判断一个类是否继承指定类