User`s guide

78 XgOS User’s Guide September 2014
Basic vNIC Configuration
A vNIC involves the following bringup procedure:
Adding a server profile
Creating a named vNIC
Associating the vNIC to a server profile and physical I/O card
Setting IP address information
Verifying the configuration and state
Syntax
Parameter Description
add server-profile <name> <server>@<f1-15>:ServerPort<ib-port-num>
add vnic <vnic-name>.<server-profile-name> {<slot>/<port>|none}
set vnic <vnic-name>.<server-profile-name> -addr-type=[default|static|dhcp]
-ip-addr=<addr/mask> -ipaddr-host-managed=<n.n.n.n>
set vnic <vnic-name>.<server-old> move <vnic-name>.<server-new>
remove vnic {*|<vnic-name>} [-noconfirm]
show vnic [*] [<vnic-name>] [-detail]
show vnic <vnic-name>.<server-name> vnic-stats
Parameter Description
add server-profile <server-name>
<actual-physcon>
Creates a named server <server-name> and associates
it with the actual hostname (<actual-physcon>)
associated with the resource. This hostname is also
known as the physical connection (phys-con). Once a
server-profile is added, you can add subsequent
vNICs (add vnic) to it.
add vnic <vnic-name>.<server-profile-name>
<slot>/<port>
Creates a named vNIC, associates it with a server
name, and specifies a physical slot/port on the
chassis. A 10GigE I/O card can support 128 vNICs.
set vnic <vnic-name>.<server-profile-name>
-addr-type=[default|static|dhcp]
-ip-addr=<address/mask>
-ipaddr-host-managed=<n.n.n.n>
Configures an IP address on the named vNIC. The
address type can be static or dhcp assigned.
The default is dhcp.