使用 vnic 命令可以管理服务器上的 vNIC。Oracle 网状结构网络互连设备与支持 Oracle vNIC 主机软件堆栈的主机服务器之间存在 IB 连接。最多支持 24 个 IB 端口。
add vnic name server-name network-cloud-name [–description=text] [–qos=QoS-profile] [–vlan-id=value] [–trunk-mode={true|false}] [–ha-mode={true|false}] [–auto-switchover={true|false}] [–ip-type=IP-address-type] [–ip-address=IP-address] [–ip-mask=IP-mask] [–mac-address=MAC-address] [–ha-mac-address=MAC-address] [–local-id=local-ID] [–checksum-offload={true|false}] [–community-name=community-name] [–iscsi-boot-capable={true|false}] [–pxe-boot-capable={true|false}] [–tso={true|false}] [–private={true|false}] [–port=port] [–ha-port=ha-port]
remove vnic name [–no-confirm]
set vnic name [–description=text] [–qos=QOS-profile] [–ip-type=IP-address-type] [–ip-address=IP-address] [–ip-mask=IP-mask] [–community-name=community-name] [–boot-capable={true|false}] [–iscsi-boot-capable={true|false}] [–pxe-boot-capable={true|false}] [–private=true/false]
set vnic name up
set vnic name down
set vnic name network-cloud cloud-name
set vnic name termination termination [–ha-termination=termination-port]
show vnic name [–detail]
其中:
cloud-name 是连接到 vNIC 的新云的名称。
network-cloud-name 是连接到 vNIC 的网络云的名称。
server-name 是物理服务器的名称。
termination 可以更新 vNIC,将其终端更改为另一个端口或链路聚合组。
name 是 vNIC 的名称。
|
|
本示例将说明如何在名为 bering 的服务器上添加一个名为 vnic4 的 vNIC,并将该 vNIC 端接到名为 cloud9 的网络云。
add vnic vnic4 bering cloud9 show vnic ----------------------------------------------------------- name.io-profile vnic4.bering_example_company_com net-cloud-name cloud9 termination cloud-9 ha-termination cloud-9 state up/resourceUnavailable ip-address 0.0.0.0 ip-mask 255.255.255.255 ip-type hostManaged mac-address 00:13:97:23:44:1D(P), 00:13:27:02:0D:30(S) qos description ----------------------------------------------------------- 1 records displayed
本示例将说明如何从网络云中删除 vNIC。
remove vnic vnic4.bering_example_company_com -no-confirm