vport-create
This command is used to create a virtual port on a switch. Virtual ports track information across nodes on the fabric.
Syntax vport-create
mac mac-address |
Specify the MAC address of the vPort. |
Specify up to two of the following options: |
|
vlan vlan-id |
Specify a VLAN from 0 to 4095. |
vxlan vxlan-id |
Specify a VXLAN from 0 to 16777215. |
vnet vnet-name |
Specify a VNET assigned to the vPort. |
Specify at least one of the following options: |
|
ip ip-address |
Specify an IP address. |
owner node-name |
Specify the switch ID. |
intf intf-number |
Specify the interface number. |
Specify any of the following options: |
|
public-vlan vlan-id |
Specify the ID of the public VLAN. |
num-ips num-ips-number |
Specify the number of IP addresses for the vPort. |
config-intf config-intf-number |
Specify the configuration interface number. |
svc-name svc-name-string |
Specify the vCenter connection service name. |
hostname hostname-string |
Specify the host name of the switch. |
entity entity-string |
Specify the VM or VM Kernel device name. |
power none|powered-off|powered-on|standby|suspended|unknown |
Specify the vPort entry power status. |
cpus cpus-number |
Specify the number of CPUs assigned to the VM. |
disk disk-number |
Specify the disk number of the VM location. |
os os-string |
Specify an operating system, such as CentOS or Ubuntu, on the VM. |
portgroup portgroup-string |
Specify the Port Group name associated with VM MAC address. |
pg-vlans vlan-list |
Specify the valid VLANs for the port group. |
vswitch vswitch-string |
Specify the vitual switch name associated with the NIC. |
vs-type none|host-vs|distributed-vs|unknown |
Specify the virtual switch type. |
vnic-type untagged|tagged|trunked|vm-mgmt|vm-kernel|vMotion|vSAN|FTL|rep|p-NFC|r-NFC|mgmt|unknown |
Specify the type of vNIC attached to the VM or VM Kernel. |
rem-switch node-name |
Specify the remote switch for the vPort. |
hw-index hw-index-number |
Specify the hardware index number. |
rt-if rt-if-string |
Specify the router interface. |
hw-flags invalid-vlan|invalid-port |
Specify the vPort hardware flags. |
Defaults None
Access CLI
History
Version 2.2 |
Command introduced. |
Version 2.3 |
The parameters, num-ips and vm-status, added. |
Version 2.3.1 |
The parameter, switch-id, changed to owner. |
Version 2.4 |
The parameters, hw-index and rt-if, added. |
Version 2.4.1 |
The parameters, vnet, hw-flags, and public-vlan, added. The parameter, blocked-ports, deprecated. |
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. |
Usage Use this command to create a vPort on the switch. vPorts are mirrored across the fabric so that every switch knows about all the L2 entries on the fabric. This is useful for troubleshooting connections across the fabric.
Examples To configure a vPort with the MAC address of 06:60:00:02:10:38, IP address of 192.168.11.11, on VLAN 107, use the following syntax:
CLI network-admin@switch > vport-create mac 06:60:00:02:10:38 vlan 107 ip 192.168.11.11
vport-delete
This command is used to delete a virtual port on a switch. Virtual ports track information across nodes on the fabric.
Syntax vport-delete mac mac-address vlan vlan-id vxlan vxlan-id ip ip-address
mac mac-address |
Specify the MAC address of the vPort to delete from the configuration. |
vnet vnet-name |
Specify a VNET assigned to the vPort. |
vlan vlan-id |
Specify the VLAN ID of the vPort to delete from the configuration. |
vxlan vxlan-id |
Specify the VXLAN ID of the vPort to delete from the configuration. |
ip ip-address |
Specify the IP address of the vPort to delete from the configuration. |
Defaults None
Access CLI
History
Version 2.2 |
Command introduced. |
Version 2.4.1 |
The parameter, vnet, added. |
Usage Use this command to remove a vPort from the configuration.
Examples To remove the vPort with the IP address, 192.168.11.9, use the following command:
CLI network-admin@switch > vport-delete ip 192.168.11.9
vport-history-show
This command is used to display historical information about virtual ports on a fabric. Virtual ports track information about servers, virtual machines, and switches in a fabric.
Informational Note: Netvisor 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-history-show
time date/time: yyyy-mm-ddThh:mm:ss |
Specifies a point in tjme for displaying historical information. |
start-time date/time: yyyy-mm-ddThh:mm:ss |
Specifies the start time for vPort history collection. |
end-time date/time: yyyy-mm-ddThh:mm:ss |
Specifies the end time for vPort history collection. |
duration duration: #d#h#m#s |
Specifies the duration to collect the vPort history. |
interval duration: #d#h#m#s |
Specifies the intervals to collects vPort history. |
since-start |
Specifies to display all of the vPort history since collection began on the fabric. |
older-than duration: #d#h#m#s |
Specifies to display vPort information older than a specific duration. |
within-last duration: #d#h#m#s |
Specifies to display vPort information with a specific duration. |
log-type l2-save|l3-save|restart|l2-modify|l2-delete|l3-modify| |
Filter output by the log type of each entry. The log-type column displays when a vPort is created, modified, saved, or deleted. |
[caller init|config|status|switch-cb|cluster|gre|ARP|router|flow-cb|vdp|vlag|port|inject|evict|vxlan|stats|vnm-vnic|adjacency|stp|trunk|intsw|ttl1|flood|flush|retire|loop|dhcp|fabric|table|l3-age-out|vlan|l2-checker| |
Specifies the feature that made the change for this entry. |
[last-caller init|config|status|switch-cb|cluster|gre|ARP|router| flow-cb|vdp|vlag|port|inject|evict|vxlan|stats|vnm-vnic| adjacency|stp|trunk|intsw|ttl1|flood|flush|retire|loop|dhcp| fabric|table|l3-age-out |
Specifies the most recent caller for this entry. |
[reason activate|deactivate|port-move| |
Specifies the reason for history entry. |
last-reason activate|deactivate|port-move|ip-move|ip-remove|batch-move|retire|break-loop|break-loop-timeout|create|modify|delete|policy|owner-status|remove-node|port-flags|check-owner|trunk-port-add|trunk-port-remove|move-router-if|age-out|hw-remove|restart|undo|flush|update-vxlan-vlan|needs-peer-status|owner-lost|owner-change |
Specifies most recent reason for this entry. |
changes owner|mac|ip|num-ips|config-intf|intf|ports|state|local-intf|local-ports|local-state|alt-owner| |
Specifies what changed in this entry. |
count count-number |
Filter output by the number of entries summed using the sum-by argument. |
owner node-name |
the switch-id of the vPort. |
mac mac-address |
Filter output by the Filter output by MAC address. |
vlan vlan-id |
Filter output by the VLAN ID. |
vxlan vxlan-id |
Filter output by the VXLAN ID. |
vnet vnet-name |
Specify the VNET assigned to the vPort. |
public-vlan vlan-id |
Specify the ID of the public VLAN. |
ip ip-address |
Filter output by the IP address. |
num-ips num-ips-number |
Specify the number of IP addresses for the vPort. |
intf intf-number |
Filter output by the interface number. This is the port or trunk number of the vPort. |
config-intf config-intf-number |
Filter output by the configured interface of the vPort. |
ports port-list |
Filter output by 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 |
Filter output by the state of the vPort. |
svc-name svc-name-string |
Specify the vCenter connection service name. |
hostname hostname-string |
Specify the host name of the switch. |
entity entity-string |
Specify the VM or VM Kernel device name. |
power none|powered-off|powered-on|standby|suspended|unknown |
Specify the vPort entry power status. |
cpus cpus-number |
Filter output by the number of CPUs assigned to the VM. |
os os-string |
Filter output by the OS installed on the VM. |
portgroup portgroup-string |
Specify the Port Group name associated with VM MAC address. |
pg-vlans vlan-list |
Specify the valid VLANs for the port group. |
vswitch vswitch-string |
Specify the vitual switch name associated with the NIC. |
vs-type none|host-vs|distributed-vs|unknown |
Specify the virtual switch type. |
vnic-type untagged|tagged|trunked|vm-mgmt|vm-kernel|vMotion|vSAN|FTL|rep|p-NFC|r-NFC|mgmt|unknown |
Specify the type of vNIC attached to the VM or VM Kernel. |
rem-switch node-name |
Filter output by the remote switch name. |
rem-intf rem-intf-number |
Filter output by the remote interface number. |
rem-ports port-list |
Filter output by the remote ports. |
peer-intf peer-intf-number |
Filter output by the peer interface. |
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 |
Filter output by peer-state |
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 |
Filter output by owner state. |
status hy-up|up|disabled|hw-nat-loop|mirror-loop|mirror-to|inuse|PN-switch|PN-fabric|PN-other|PN-cluster|PN-internal|PN-hypervisor|PN-guest|snmp-host|host|uplink|drop-pkts|no-pktin|no-fwd|no-flood|STP-BPDUs|LLDP|trunk|l3-port|remote-l3-port|vdp|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|vxlan-loopback| |
Filter output by the status of the vPort. |
vtep-ip ip-address |
Displays the VTEP IP address. |
tunnel tunnel-string |
Specifies the vPort tunnel. |
create-time date/time: yyyy-mm-ddThh:mm:ss |
Filter output by the time that the vPort was created. |
last-seen date/time: yyyy-mm-ddThh:mm:s |
Filter output by the time that the vPort was last seen on the fabric. |
vxlan-lru date/time: yyyy-mm-ddTHH:mm:ss |
Filter output by the VXLAN LRU. |
hit hit-number |
Filter output by the number of received hits. |
migrate migrate-number |
Filter output by the number of times that the vPort migrated on the fabric. |
drops drops-number |
Filter output by the number of drops on the fabric. |
hw-index hw-index-number |
Filter by the hardware index. |
rt-if rt-if-string |
Filter by the router interface. |
hw-flags invalid-vlan|invalid-port |
Filter by hardware flags. |
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.3.1 |
The parameters, caller, last-call, reason, last-reason, and changes added. |
Version 2.4 |
The options, l3-modify, l3-save, and l3-delete, added to log-type. The parameters, peer-intf, peer-state, and peer-owner-state added. |
Version 2.4.1 |
The parameters, vnet and public-vlan, added. The options, retire|break-loop|break-loop-timeout, added to the parameter reason. The options vxlan-loopback|router, added to the parameter, state. The parameters, hw-index, rt-if, and hw-flags, 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.1.0 |
The parameters, vtep-ip and ND, added. |
Usage Use this command to display vPort history on the switch. vPorts are mirrored across the fabric so that every switch knows about all the L2 entries on the fabric. This is useful for troubleshooting connections across the fabric.
Examples To display vPort history, with the parameter since-start, use the following syntax:
CLI network-admin@switch > vport-history-show since-start format all layout vertical
time: 09-10,15:17:03
log-type: l2-modify
switch-id: pleaides24
mac: 64:0e:94:28:03:3e
vlan: 1
intf: 65
ports: 65
local-intf: 65
local-ports: 65
create-time: 09-10,15:17:06
time: 09-10,15:17:06
log-type: l2-modify
switch-id: pleaides24
mac: 64:0e:94:28:03:3e
vlan: 1
intf: 65
ports: 65
state: active
local-intf: 65
local-ports: 65
local-state: active
create-time: 09-10,15:17:06
last-seen: 09-10,15:17:06
hit: 1
time: 09-10,15:17:07
log-type: l2-modify
vport-modify
This command is used to modify a virtual port on a switch. Virtual ports track information across nodes on the fabric.
Syntax vport-modify
mac mac-address |
Specify the MAC address of the vPort. |
vlan vlan-id |
Specify a VLAN from 0 to 4095. |
vxlan vxlan-id |
Specify a VLAN from 0 to 16777215. |
vnet vnet-name |
Specify a VNET assigned to the vPort. |
ip ip-address |
Specify the IP address of the vPort. |
Specify any of the following options: |
|
owner node-name |
Specify the switch ID. |
public-vlan vlan-id |
Specify the ID of the public VLAN. |
num-ips num-ips-number |
Specify the number of IP addresses for the vPort. |
intf intf-number |
Specify the interface number. |
config-intf config-intf-number |
Specify the configuration interface number. |
svc-name svc-name-string |
Specify the vCenter connection service name. |
hostname hostname-string |
Specify the host name of the switch. |
entity entity-string |
Specify the VM or VM Kernel device name. |
power none|powered-off|powered-on|standby|suspended|unknown |
Specify the vPort entry power status. |
cpus cpus-number |
Specify the number of CPUs assigned to the VM. |
disk disk-number |
Specify the disk number of the VM location. |
os os-string |
Specifies an operating system, such as CentOS or Ubuntu, on the VM. |
rem-switch node-name |
Specify the remote switch for the vPort. |
hw-index hw-index-number |
Specify the hardware index number. |
rt-if rt-if-string |
Specify the router interface. |
hw-flags invalid-vlan|invalid-port |
Specify the hardware flags. |
Defaults None
Access CLI
History
Version 2.2 |
Command introduced. |
Version 2.3 |
The parameters, num-ips and vm-status, added. |
Version 2.4 |
The parameters, hw-index and rt-if, added. |
Version 2.4.1 |
The parameters, vnet, hw-flags, and public-vlan, added. The parameter, blocked-ports, deprecated. |
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. |
Usage Use this command to modify a vPort configuration on the switch. vPorts are mirrored across the fabric so that every switch knows about all the L2 entries on the fabric. This is useful for troubleshooting connections across the fabric.
Examples To modify a vPort with the MAC address of 06:60:00:02:10:38, IP address of 192.168.11.11, and change the VLAN to 107, use the following syntax:
CLI network-admin@switch > vport-modify mac 06:60:00:02:10:38 vlan 107 ip 192.168.11.11
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 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 |
Displays the owner name. |
mac mac-address |
Displays the MAC address of the vPort. |
vnet vnet-name |
Displays the VNET name. |
Specify up to two of the following options: |
|
vlan vlan-id |
Displays a VLAN from 0 to 4095. |
public-vlan vlan-id |
Displays 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 |
Displays the number of IP addresses for the vPort. |
Displays any of the following options: |
|
config-intf config-intf-number |
Displays the configuration interface number. |
ports port-list |
Displays 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| |
Displays the vPort state. |
svc-name svc-name-string |
Displays the name of the vCenter connection service. |
hostname hostname-string |
Displays the hypervisor or switch host name. |
entity entity-string |
Displays the VM or KVM device name. |
power none|powered-off|powered-on| |
Displays the vPort entry status. |
cpus cpus-number |
Displays 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 |
Displays the port group name associated with the VM MAC address. |
pg-vlans vlan-list |
Displays the VLANs assigned to a port group. |
vswitch vswitch-string |
Displays the name of the virtual switch associated with a NIC. |
vs-type none|host-vs|distributed-vs| |
Displays the type of virtual switch. |
vnic-type untagged|tagged|trunked|vm-mgmt|vm-kernel|vMotion|vSAN|FTL| rep|p-NFC|r-NFC|mgmt|unknown |
Displays the type of vNIC associated with the VM or VM-Kernel. |
config none|owner|ip|port|hostname|entity|cpus|os |
Displays the configuration type for the virtual switch. |
rem-switch node name |
Displays the name of the remote switch. |
rem-intf rem-intf-number |
Displays the remote interface number. |
rem-ports port-list |
Displays the remote switch ports. |
peer-intf peer-intf-number |
Displays 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|peerport-missing|peer-port-not-vlag|peer-port-not orphaned|peer-port-not-cluster-links|sw-active|anycast| |
Displays 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|peerport-missing|peer-port-not-vlag|peer-port-not orphaned|peer-port-not-cluster-links|sw-active|anycast| |
Displays the state of the peer owner vPorts. |
status phy-up|up|disabled|hw-nat-loop|mirror-loop|mirror-to|inuse| PN-switch|PN-fabric|PN-other|PN-cluster|PN-internal|PN-hypervisor|PN-guest|snmp-host|host|uplink|drop-pkts|no-pktin|no-fwd|no-flood|STP-BPDUs|LLDP|trunk|l3-port|remote-l3-port|vdp|dhcp|dhcpsvr|blocked|no-BPDU|LACP-PDUs|vlag-active|vlag-blocked| |
Displays the vPort status. |
vtep-ip ip-address |
Displays the VTEP IP address. |
tunnel tunnel-string |
Displays the vPort tunnel. |
create-time date/time: yyyy-mm-ddTHH:mm:ss |
Displays the vPort create time. |
last-seen date/time: yyyy-mm-ddTHH:mm:ss |
Displays the last time the vPorts was seen. |
vxlan-lru date/time: yyyy-mm-ddTHH:mm:ss |
Displays the time and date of the VXLAN LRU. |
hit hit-number |
Displays the number of hits. |
migrate migrate-number |
Displays the number of times the entry migrated. |
drops drops-number |
Displays the number of dropped packets. |
hw-index hw-index-number |
Displays the hardware index number. |
rt-if rt-if-string |
Displays the router interface. |
hw-flags invalid-vlan|invalid-port |
Displays hardware flags. |
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. |
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 format all layout vertical
mac: 66:0e:94:21:64:74
vlan: 103
config-intf: 70
config: port
switch-id: pleiades24
mac: 00:00:5e:00:01:0a
vlan: 107
config: switch
rem-switch: pleiades25
switch-id: pleiades25
mac: 66:0e:94:21:a9:6c
vlan: 100
ip: 192.168.11.4
intf: 65
ports: 65
state: active
hostname: pleiades25
status: PN-internal
create-time: 09-10,15:17:47
last-seen: 09-15,10:55:22
hit: 2
migrate: 1
switch-id: pleiades24
mac: 66:0e:94:21:64:74
vlan: 100
ip: 192.168.100.12
intf: 65
ports: 65
hostname: pleiades24
status: PN-internal
create-time: 09-10,15:17:48
last-seen: 09-10,15:17:48
hit: 1
switch-id: pleiades24
vport-settings-modify
vPort information is collected and stored on a disk on the switch at specific intervals. This command is used to modify the vPort settings.
Syntax vport-settings-modify
Specify one or more of the following options: |
|
vport-disk-space vport-disk-space-number |
Specify the amount of disk space for vPorts. The default is 500M. |
stats-max-memory stats-max-memory-number |
Specify the maximum memory for collecting vPort information. The default memory is 50M. |
stats-log-enable| |
Specify if you want to enable or disable logs for vPort statistics. Enabled by default. |
stats-log-interval duration: #d#h#m#s |
Specify the interval between logging events. The default is one minute. |
stats-log-disk-space disk-space-number |
Specify the amount of disk space for vPort logs. The default is 50M. |
system-stats-log-enable|system-stats-log- |
Specify if you want to enable or disable logging for the system. Enabled by default. |
system-stats-log- |
Specify the interval between logging events. The default is one minute. |
system-stats-log-disk- |
Specify the disk space for system statistics. The default is 50M. |
Defaults See individual parameters.
Access CLI
History Command introduced in nvOS Version 2.2.
Usage Use the command to modify vPort settings to collect vPort information.
Examples To modify the vPort disk space from 500M to 1G, use the following syntax:
CLI network-admin@switch > vport-settings-modify vport-disk-space 1G
vport-settings-show
Netvisor collects and stores vPort information on a disk on the switch at specific intervals. This command is used to display the vPort settings.
Syntax vport-settings-show
Defaults See individual parameters.
Access CLI
History Command introduced in nvOS Version 2.2.
Usage Use the command to display vPort settings for collecting vPort information.
Examples To display vPort settings, use the following syntax:
CLI network-admin@switch > vport-settings-show
switch: pleiades24
vport-disk-space: 1G
stats-max-memory: 50M
stats-log-enable: yes
stats-log-interval: 1m
stats-log-disk-space: 50M
system-stats-max-memory: 50M
system-stats-log-enable: yes
system-stats-log-interval: 1m
system-stats-log-disk-space: 50M
switch: pleiades25
vport-disk-space: 500M
stats-max-memory: 50M
stats-log-enable: yes
stats-log-interval: 1m
stats-log-disk-space: 50M
system-stats-max-memory: 50M
system-stats-log-enable: yes
system-stats-log-interval: 1m
system-stats-log-disk-space: 50M
vport-stats-show
This command is used to display vPort statistics including the number of incoming and outgoing packets.
Syntax vport-stats-show
time date/time: yyyy-mm-ddThh:mm:ss |
Specifies a point in tjme for displaying historical information. |
start-time date/time: yyyy-mm-ddThh:mm:ss |
Specifies the start time for vPort history collection. |
end-time date/time: yyyy-mm-ddThh:mm:ss |
Specifies the end time for vPort history collection. |
duration duration: #d#h#m#s |
Specifies the duration to collect the vPort history. |
interval duration: #d#h#m#s |
Specifies the intervals to collect vPort history. |
since-start |
Specifies to display all of the vPort history since collection began on the fabric. |
older-than duration: #d#h#m#s |
Specifies to display vPort information older than a specific duration. |
within-last duration: #d#h#m#s |
Specifies to display vPort information with a specific duration. |
switch-id node name |
Specifies the switch ID for collecting vPort statistics. |
hostname hostname-string |
Specifies the host name statistics. |
ip ip-address |
Specifies IP address statistics. |
mac mac-address |
Specifies the MAC address assigned to the vPort. |
vnet vnet name |
Specifies VNET statistics. |
vlan vlan-id |
Specifies VLAN statistics. Range is 0..4095. |
vxlan vxlan-id |
Specifies VXLAN statistics. Range is 0..16777215. |
entity entity-string |
Specifies the VM or VM Kernel device name. |
vnic-type untagged|tagged|trunked|vm-mgmt|vm-kernel|vMotion|vSAN|FTL| rep|p-NFC|r-NFC|mgmt|unknown |
Specifies the vNic attached to VM traffic type. |
vs-type none|host-vs|distributed-vs|unknow |
Specifies the Virtual Switch type |
ibytes ibytes-number |
Specifies number of incoming bytes. |
ipkts ipkts-number |
Specifies number of incoming packets. |
idiscards idiscards-number |
Specifies number of incoming packets discarded. |
ierrs ierrs-number |
Specifies number of incoming packets with errors.. |
obytes obytes-number |
Specifies number of outoing bytes. |
opkts opkts-number |
Specifies number of outoing packets. |
odiscards odiscards-number |
Specifies number of outgoing packets discarded. |
oerrs oerrs-number |
Specifies number of outgoing packets with errors. |
count count-number |
Specifies the statistics count. |
Defaults None
Access CLI
History .
Version 2.3 |
Command introduced. |
Version 2.4.1 |
The parameter, count, added. |
Version 2.5.4 |
The parameters, entity, vnic-type, and vs-type added. |
Usage Use this command to display vPort statistics.
Examples To generate a report, use the following syntax:
CLI network-admin@switch > vport-stats-show