|Skip Navigation Links|
|Exit Print View|
|Sun Network QDR InfiniBand Gateway Switch HTML Document Collection for Firmware Version 2.0|
If you create a VNIC that uses the default partition key (PKey), you do not need to set up a VLAN for the VNIC. However, if you want to create a VNIC that uses a PKey other than the default, you must create the VLAN first.
See Create VLANs.
# createvnic connector|lagname <-guid guid>|<-host hostname -port port>|<-node string -port port> -mac mac -vlan vlan_ID -pkey p_key
connector is the name of the connector (0A-ETH-1 to 0A-ETH-4, 0A-ETH, 1A-ETH-1 to 1A-ETH-4, and 1A-ETH). This value is column one of the gateway MAC address file.
lagname is the identifier of the LAG.
guid is the global unique identifier of the target port on the host associated with the VNIC. This value is column two of the gateway MAC address file.
hostname is the host name of the management controller or system name recognized by the BridgeX manager.
port is the port of the host.
string is the character string in the node description field.
mac is the machine address code. This value is column three of the gateway MAC address file.
Note - Only even numbers are supported for the most significant byte of the MAC address (unicast).
vlan_ID is the VLAN identifier. This value is column four of the gateway MAC address file.
p_key is the partition identifier (default). This value is column five of the gateway MAC address file.
For example, to create a persistent VNIC for connector 1A-ETH-3 associated with VLAN 3 with partition key default, type.
# createvnic 1A-ETH-3 -guid 00:03:BA:00:01:00:E3:71 -mac 02:02:02:02:02:01 -vlan 3 -pkey default #
Note - If the VNIC is to be non-persistent, append the -n option to the command line.
Note - If no VLAN will be associated with the VNIC, do not use the -vlan option.
# showvnics ID STATE FLG IOA_GUID NODE IID MAC VLN PKEY GW --- -------- --- ----------------------- ---------- ---- ----------------- --- ---- -------- 16 UP N 00:21:28:00:01:3E:CE:A0 mnm34-55 0000 02:02:02:02:02:04 3 ffff 1A-ETH-4 13 UP N 00:03:BA:00:01:00:E3:71 mnm34-60 0000 02:02:02:02:02:01 3 ffff 1A-ETH-3 15 UP N 00:21:28:00:01:3E:CE:9F mnm34-55 0000 02:02:02:02:02:03 3 ffff 1A-ETH-1 14 UP N 00:03:BA:00:01:00:E3:72 mnm34-60 0000 02:02:02:02:02:02 3 ffff 1A-ETH-2 #