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
posted @ 2021-03-29 16:46  朱军杰  阅读(7)  评论(0)    收藏  举报  来源