配置带内管理接口
在带内管理中,可以将网络接口配置为管理接口,然后连接到管理设备。默认。端口 ge-1/0/0、ge-1/0/1 和 ge-1/0/2 配置为网络接口。此外,还可以配置 ge-1/0/3 到 ge-1/0/9 的网络接口。
您可以将 x 范围从 0 到 9 的任何 ge-1/0/x 端口配置为带内管理接口。可以使用 LAN 端口 (FPC0) 或 WAN 端口 (FPC1) 来配置带内管理。
要配置 WAN 端口以用于带内管理:
要配置 LAN 端口以用于带内管理:
配置管理 VLAN:
root@host# set vlans mgmt-vlan vlan-id vlan-id
将物理网络接口和服务接口添加为 VLAN 的成员:
root@host# set interfaces ge-0/0/x unit 0 family ethernet-switching vlan members mgmt-vlan root@host# set interfaces sxe-0/0/[01] unit 0 family ethernet-switching vlan members mgmt-vlan
配置 VLAN 标记:
root@host# set interfaces ge-1/0/0 vlan-tagging root@host# set interfaces ge-1/0/0 unit n vlan-id mgmt-vlan-id root@host# set interfaces ge-1/0/0 unit n family inet address address/prefix-length