vport-show

This command is used to display information about virtual ports on a fabric. Virtual ports track switch information across nodes on the fabric.

Informational Note:  NetVisor OS does not automatically populate the output fields for hypervisor, and VM. In future releases, NetVisor gathers this information using a multicast communication across the fabric.

Syntax   vport-show

owner node name 

The owner name.

mac mac-address

The MAC address of the vPort.

vnet vnet-name

The vNET name.

bd bridge-domain name

Bridge Domain assigned to vPort.

vlan vlan-id

Displays a VLAN from 0 to 4095.

inner-vlan 0..4095

Q-in-Q inner VLAN assigned to vPort.

public-vlan 0..4095

The ID of the public VLAN.

vxlan vxlan-id

Displays a VXLAN from 0 to 16777215.

ip ip-address

DisplaysDisplays an IP address.

num-ips num-ips-number

The number of IP addresses for the vPort.

config-intf config-intf-number

The configuration interface number.

intf intf-number

Port that owns the vPort

ports port-list

The list of ports.

state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac|user-flush|vxlan-loopback|router|update-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag|        peer-port-not-orphaned|peer-port-not-cluster-link|sw-active|anycast|hsrp|invalid-vlan|owner-lost|cluster-link-down|vxlan-router|peer-force-resync|excess-mac-move-detected|excess-ip-move-detected|retry|evpn|evpn-wo-bgp|evpn-def-gw|evpn-delete|evpn-mac-move 

The vPort state.

svc-name svc-name-string

Name of the vCenter connection service.

hostname hostname-string

The hypervisor or switch host name.

entity entity-string

The VM or KVM device name.

power none|powered-off|powered-on|standby|suspended|unknown

The vPort entry status.

cpus cpus-number

The number of CPUs assigned to the VM.

os os-string

Displays an operating system, such as CentOS or Ubuntu, on the VM.

portgroup portgroup-string

The port group name associated with the VM MAC address.

pg-vlans vlan-list

The VLANs assigned to a port group.

vswitch vswitch-string

Name of the virtual switch associated with a NIC.

vs-type none|host-vs|distributed-vs|unknown

The type of virtual switch.

vnic-type untagged|tagged|trunked|vm-mgmt|vm-kernel|vMotion|vSAN|FTL| rep|p-NFC|r-NFC|mgmt|unknown

The type of vNIC associated with the VM or VM-Kernel.

config none|owner|ip|port|hostname|entity|cpus|os

The configuration type for the virtual switch.

rem-switch node name

Name of the remote switch.

rem-intf rem-intf-number

The remote interface number.

rem-ports port-list

The remote switch ports.

peer-intf peer-intf-number

The peer interface number.

peer-state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac|user-flush|vxlan-loopback|router|update-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag|        peer-port-not-orphaned|peer-port-not-cluster-link|sw-active|anycast|hsrp|invalid-vlan|owner-lost|cluster-link-down|vxlan-router|peer-force-resync|excess-mac-move-detected|excess-ip-move-detected|retry|evpn|evpn-wo-bgp|evpn-def-gw|        evpn-delete|evpn-mac-move

The state of the peer vPorts.

peer-owner-state active|static|vrrp|tunnel|software|needs-peer-status|port-mac|hit|ageout-check|moving|loop-probe|local-tunnel|igmp-mac|user-flush|vxlan-loopback|router|update-peer-only|active-state-mismatch|peer-port-missing|peer-port-not-vlag|peer-port-not-orphaned|        peer-port-not-cluster-link|sw-active|anycast|hsrp|invalid-vlan|owner-lost|cluster-link-down|vxlan-router|peer-force-resync|excess-mac-move-detected|excess-ip-move-detected|retry|evpn|evpn-wo-bgp|evpn-def-gw|evpn-delete|evpn-mac-move

The state of the peer owner vPorts.

status phy-up|up|disabled|hw-nat-loop|mirror-loop|mirror-to|PN-switch|PN-fabric|PN-other|PN-cluster|PN-internal|host|        uplink|STP-BPDUs|LLDP|trunk|l3-port|remote-l3-port|dhcp|dhcpsvr|blocked|no-BPDU|LACP-PDUs|vlag-active|vlag-blocked|stp-edge-port|LACP-wait|LACP-fallback|adjacency-wait|adjacency-check|vlag-wait|multicast-router|host-disabled|loop|congested|vxlan-loopback|vlan-up|vle|vle-wait|phy-down|down|enabled|err-disabled|err-bpdu-guard|mac-violation|stp-bpdu-guard|stp-root-guard|defer-bringup-wait|rx-bw-threshold-exceeded|tx-bw-threshold-exceeded

The vPort status.

vtep-ip ip-address

The VTEP IP address.

tunnel tunnel-string

The vPort tunnel.

create-time date/time: yyyy-mm-ddTHH:mm:ss

The vPort create time.

last-seen date/time: yyyy-mm-ddTHH:mm:ss

The last time the vPorts was seen.

last-seen-since date/time: yyyy-mm-ddTHH:mm:ss

The last time the vPorts was seen since a specified time.

vxlan-lru date/time: yyyy-mm-ddTHH:mm:ss

The time, and date of the VXLAN LRU.

hit hit-number

The number of hits.

migrate migrate-number

The number of times the entry migrated.

drops drops-number

The number of dropped packets.

hw-index hw-index-number

The hardware index number.

rt-if rt-if-string

The router interface.

hw-flags invalid-vlan|invalid-port

The hardware flags.

mc-index mc-index-number

L2 multicast group index in hardware.

Defaults   None

Access   CLI

History   

Version 2.2

Command introduced.

Version 2.2.6

The parameters stp-edge-port|LACP-wait| adjacency-wait|adjacency-check|vlag-wait|multicast-router added.

Version 2.3

The parameters num-ips, and vm-status added.

Version 2.4.1

The parameter public-vlan added.

Version 2.6.2

The parameter svc-name, power, entity, portgroup, pg-vlans, vswitch, vs-type, and vnic-type added.

The parameters hypervisor, vm-id, vm-name, vm-flavor, vm-status, memory, deprecated.

Version 3.0.0

The options, anycast, invalid-vlan, and owner-lost added to state, peer-state, and peer-owner-state.

Version 3.1.0

The parameters vtep-ip, and ND added.

Version 6.1.0

The options evpn, evpn-wo-bgp, evpn-def-gw, evpn-delete added to state, peer-state, and peer-owner-state.

Usage   Use this command to display vPort information on the switch. NetVisor mirrors vPorts  across the fabric so every switch knows about all the L2 entries on the fabric. You may find this useful for troubleshooting connections across the fabric.

Examples  To display vPorts, use the following syntax:

CLI (network-admin@switch) > vport-show status format all

owner  vlan public-vlan ip                       num-ips intf ports state    rem-switch rem-intf rem-ports status             create-time    last-seen      hit migrate 

------ ---- ----------- ------------------------ ------- ---- ----- -------- ---------- -------- --------- ------------------ -------------- -------------- --- -------

switch 1    1                                            274  45,49 active              0                                     07-05,13:32:29 07-07,14:50:27 2   36      

switch 1    1                                            274  45,49                                                           07-05,14:10:24 07-07,23:33:13 63          

switch 1    1                                                       port-mac leo-ext-21 18       18        PN-switch,PN-other 07-05,13:32:29 00:11:19       1           

switch 1    1                                                       port-mac leo-ext-21 45       45        PN-switch,PN-other 07-05,13:32:29 00:11:19       1           

switch 1    1           192.22.1.240                     12   12    active                                 host               07-05,13:46:03 07-07,14:54:21 1           

switch 1    1                                            69   69    active                                 PN-internal        07-05,13:40:32 00:10:20       54          

switch 1    1                                                       port-mac leo-ext-23 22       22        PN-switch,PN-other 07-05,13:32:29 00:11:11       1           

switch 1    1           fe80::660e:94ff:fec0:53b 2       274  45,49 active                                 host               07-05,13:32:29 00:10:32       1   22      

switch 1    1                                                       port-mac leo-ext-21 17       17        PN-switch,PN-other 07-05,13:32:29 00:11:19       1           

switch 1    1                                                       port-mac leo-ext-21 49       49        PN-switch,PN-other 07-05,13:32:29 00:11:19       1           

switch 1    1           192.22.1.230                     274  45,49 active              0                  host               07-05,13:44:54 07-07,14:54:34 1           

switch 1    1                                            274  45,49 active              0                                     07-05,13:32:29 07-07,14:50:23 1   20      

switch 1    1                                                       port-mac leo-ext-23 21       21        PN-switch,PN-other 07-05,13:32:29 00:11:11       1           

switch 1    1                                                       port-mac leo-ext-23 65       65        PN-switch,PN-other 07-05,13:32:30 00:11:11       1           

switch 1    1                                                       port-mac leo-ext-23 61       61        PN-switch,PN-other 07-05,13:32:29 00:11:11       1           

switch 1    1                                                       igmp-mac                               PN-internal        07-05,13:32:24 00:11:03                   

switch 1    1                                            69   69    active               0                 PN-internal        07-05,13:32:29 07-07,14:49:23 1   4       

switch 1    1           202.22.1.240                     274  45,49 active                                 host               07-05,13:44:27 07-07,14:54:01 1           

switch 1    1                                                       port-mac leo-ext-21 27       27        PN-switch,PN-other 07-05,13:32:29 00:11:19       1           

switch 1    1                                            274  45,49 active              0                                     07-05,13:32:29 07-07,14:50:03 1   34      

switch 1    1           172.22.1.230                     274  45,49 active              0                  host               07-05,13:44:54 07-07,14:54:34 1           

switch 1    1                                                                                              PN-internal        07-05,13:32:38 07-05,13:32:38 1 

north
    keyboard_arrow_up
    keyboard_arrow_down
    description
    print
    feedback
    support
    business
    rss_feed
    south