在 NFX350 上配置带内管理接口
在带内管理中,将网络接口配置为管理接口并将其连接到管理设备。您可以将任何 ge-1/0/x 端口(其中 x 的范围为 0 到 4)配置为带内管理接口。
要配置带内管理:
要配置 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
其中 x 范围从 0 到 7。
root@host# set interfaces sxe-0/0/x unit 0 family ethernet-switching vlan members mgmt-vlan
其中 x 范围从 0 到 3。
注意:
如果设备处于吞吐量模式,则必须使用命令将 set vmhost virtualization-options interfaces ge-1/0/x mapping interface hsxex ge-1/0/ 映射到 sxe-0/x0/x。如果设备处于混合或计算模式,您可以使用命令将 set vmhost virtualization-options interfaces ge-1/0/x ge-1/0/x 映射到 OVS,也可以使用set vmhost virtualization-options interfaces ge-1/0/x mapping interface hsxex命令映射到 SR-IOV。更改映射后,FPC1 将自动重新启动。