User`s guide
Chapter 1 XgOS CLI Overview 11
vNIC Command Examples
■ Create a new vNIC for xserver1 and assign it to port 2 on the Ethernet module in
slot 8:
■ Give vnic0 on xserver1 the IP address of 11.0.0.1 with netmask 255.255.255.0:
■ Display the properties of all vNICs:
■ Change the netmask on vnic0.xserver1 to 255.0.0.0:
■ Set vnic0.xserver1 to DHCP:
■ Change the termination port of a vNIC:
■ Create an HA vNIC with primary port 8/1 and secondary port 8/2:
■ Delete a vNIC:
See “Virtual Network Interface Cards (vNICs)” on page 77 for more information.
vHBA Commands
vHBAs are given a name and assigned to a server profile and a Fibre Channel (FC)
module port.
add vnic vnic0.xserver1 8/2
set vnic vnic0.xserver1 -addr-type=static -ip-addr=11.0.0.1/24
show vnic
set vnic vnic0.xserver1 –netmask=255.0.0.0
set vnic vnic0.xserver1 –addr-type=dhcp
set vnic vnic0.xserver1 –if=8/4
add vnic vnic0.xserver1 8/1 ha 8/2
remove vnic vnic0.xserver1