switch-vnic-show
This command is used to display information about a virtual Network Interface Card (vNIC) on the switch.
Syntax switch-vnic-show
nic nic-string |
The vNIC to modify. |
Specify one or more of the following options: |
|
ip ip-address |
The IP address of the vNIC. |
netmask netmask |
The netmask. |
assignment [none|dgcp|dhcpv6] |
The method of IP address assignment. |
linklocal ip-address |
The IPv6 link local IP address. |
vnet vnet name |
The vNET name. |
l2-net l2-net-name |
Name of the Layer network. |
vlan vlan-id |
The VLAN assigned to the vNIC. |
vlan-type public|private |
The VLAN type assigned to the vNIC. |
if [mgmt|data|span] |
The type of interface for the vNIC. |
alias-on alias-on-string |
Specify an alias if desired. |
vm-nic-type [e1000|virtio] |
The type of vNIC. |
exclusive|no-exclusive |
Specify if the vNIC is exclusive to a zone. Adding this parameter may improve performance on the vNIC. |
nic-enable|nic-disable |
Specify if the vNIC is enabled or disabled. |
secondary-macs secondary-macs-string |
The secondary MAC address for the interface. |
sriov-vf|no-sriov-vf |
Specify if the NIC is an SRIOV (single root input/output virtualization) interface. |
mirror-traffic true|false |
Specify if you want to mirror traffic to the VNIC. |
if-nat-realm internal|external |
The NAT interface realm. |
priority-tag|no-priority-tag |
Specify to add a VLAN 0 priority tag on forwarded traffic. |
Defaults None.
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.1 |
The parameters exclusive, and nic added. |
Version 2.2.5 |
The parameter secondary-macs added. |
Version 2.4.1 |
The parameter vxlan deprecated. The parameter vlan-type added. |
Version 2.6.2 |
The parameters sriov-vf, mirror-traffic, and if-nat-realm added. |
Version 3.0.0 |
The following parameters added: linklocal, vnet, l2-net. |
Version 3.1.0 |
The parameter priority-tag|no-priority-tag added. |
Usage Use this command to display information about vNICs on the switch.
Examples To display a vNIC, use the following command:
CLI (network-admin@switch) > switch-vnic-show