vrouter-interface-show
This command is used to display the interfaces on the virtual router (vRouter) service on a fabric, cluster, standalone switch, or virtual network (vNET).
Syntax vrouter-interface-show
vrouter-name name-string |
Name for the vRouter interface. |
Specify any of the following options: |
|
vlan vlan-id |
The VLAN identifier. This is a value between 0, and 4095. |
ip ip-address |
The IP address of the interface. |
netmask netmask |
The netmask. |
assignment none|dhcp|dhcpv6 |
The DHCP method for IP address assignment. Note that if you specify hardware as the router type, you cannot assign IP addresses using DHCP. You must specify a static IP address. |
ip2 ip-address |
The IP address of the interface. |
netmask2 netmask |
The netmask. |
assignment2 none|dhcp|dhcpv6 |
The DHCP method for IP address assignment. Note that if you specify hardware as the router type, you cannot assign IP addresses using DHCP. You must specify a static IP address. |
linklocal ip-address |
An IPv6 linklocal address. |
ipv6-unnumbered|no-ipv6-unnumbered |
Specify if IPv6 unnumbered has been enabled or not. |
vnet vnet-name |
The vNET assigned to the vRouter. |
vlan-type public|private |
The type of VLAN for the interface. |
if mgmt|data|span |
Specify if the interface is a management, data or span interface. |
alias-on alias-on-string |
An alias for the interface. |
exclusive|no-exclusive |
Specify if the interface is exclusive to the configuration. Exclusive means that other configurations cannot use the interface. Exclusive is specified when you configure the interface as a span interface, and allows higher throughput through the interface. |
nic-enable|nic-disable |
Specify if the NIC is enabled or disabled. |
pim|no-pim |
Specify if the vRouter interface is a PIM interface. |
nic-state down|up |
The NIC state. |
pim-dr-priority integer |
The direct router (DR) priority as an integer between 1, and 4294967295. NetVisor selects the vRouter interface with higher DR priority as the designated router. By default, all interfaces are priority 1. In case of same priority, NetVisor selects the vRouter interface with highest network address as DR. |
pim-cluster|no-pim-cluster |
Specify if the user wants to provide alternative routing for Layer 3 attached sources for leaf cluster routing configuration. It allows traffic to failover not black-hole when the unicast path to the Spine fails. |
fabric-nic|no-fabric-nic |
Specify if VNIC is on a VLAN used for fabric setup. |
vrrp-id id-number |
The ID for the VRRP interface. The IDs on both vRouters must be the same ID number. |
vrrp-primary string |
The primary interface for VRRP failover. |
vrrp-priority number |
The priority for the VRRP interface. This is a value between 1 (lowest), and 255 (highest). |
vrrp-adv-int mseconds |
A VRRP advertisement interval in milliseconds. The range is from 30 to 40950 with a default value of 1000. |
vrrp-preempt-mode disable|enable |
Specify one of the options to allow or prevent a high priority backup router from becoming master router. vrrp-preempt-mode is enabled by default. |
l3-port l3port-usable-port name |
A Layer 3 port for the interface. |
secondary-macs secondary-macs-string |
A secondary MAC address for the interface. |
mtu bytes |
An MTU value in bytes between 68, and 9216. |
if-nat-realm internal|external |
A NAT realm for the interface. |
priority-tag|no-priority-tag |
Specify if user wants 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 |
The parameters vrrp-id, vrrp-priority, and vrrp-primary added. |
Version 2.2.5 |
The parameters l3-port, and secondary-macs added. |
Version 2.3 |
The parameter vrrp-adv-int added. |
Version 2.4.1 |
The parameter vlan-type added. |
Version 2.5.0 |
The parameter mtu added. |
Version 2.6.0 |
The parameter if-nat-realm internal|external added. |
Version 2.6.2 |
The parameter vxlan deprecated. |
Version 3.0.0 |
The parameter ip2 and netmask2 added. The parameters pim, pim-dr-priority, and pim-cluster added. The parameter linklocal added. The option autov6 deprecated for the parameter assignment. |
Version 3.1.0 |
The parameter fabric-nic and priority-tag added. |
Version 5.1.3 |
The parameter ipv6-unnumbered|no-ipv6-unnumbered added. |
Version 6.0.0 |
The parameter vrrp-preempt-mode added. |
Usage You can display information about the interfaces on the vRouter service on a fabric, cluster, standalone switch, or virtual network (vNET).
Examples To display information about all interfaces on vRouter services, use the following command:
CLI (network-admin@switch) > vrouter-interface-show format all layout vertical
vrouter-name: vrouter1
nic: eth1.33
ip: 10.9.100.100/16
assignment: static
mac: 66:0e:94:30:c6:92
vlan: 33
vxlan: 0
if: data
alias-on:
exclusive: no
nic-config: enable
nic-state: up
secondary-macs:
vrouter-name: vrouter1
nic: eth2.33
ip: 192.168.42.11/24
assignment: static
mac: 66:0e:94:30:25:5e
vlan: 33
vxlan: 0
if: data
alias-on:
exclusive: no
nic-config: enable
nic-state: up
secondary-macs: