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 |
The a point in tjme for displaying historical information. |
start-time date/time: yyyy-mm-ddThh:mm:ss |
The start time for vPort history collection. |
end-time date/time: yyyy-mm-ddThh:mm:ss |
The end time for vPort history collection. |
duration duration: #d#h#m#s |
The duration to collect the vPort history. |
interval duration: #d#h#m#s |
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 |
The switch ID for collecting vPort statistics. |
hostname hostname-string |
The host name statistics. |
ip ip-address |
The IP address statistics. |
mac mac-address |
The MAC address assigned to the vPort. |
vnet vnet name |
The vNET statistics. |
bd bridge-domain-name |
Bridge Domain connections. |
vlan vlan-id |
The VLAN statistics. Range is 0..4095. |
vxlan vxlan-id |
The VXLAN statistics. Range is 0..16777215. |
entity entity-string |
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 |
The vNic attached to VM traffic type. |
vs-type none|host-vs|distributed-vs|unknown |
The Virtual Switch type. |
ibytes ibytes-number |
The number of incoming bytes. |
ipkts ipkts-number |
The number of incoming packets. |
idiscards idiscards-number |
The number of incoming packets discarded. |
ierrs ierrs-number |
The number of incoming packets with errors.. |
obytes obytes-number |
The number of outoing bytes. |
opkts opkts-number |
The number of outoing packets. |
odiscards odiscards-number |
The number of outgoing packets discarded. |
oerrs oerrs-number |
The number of outgoing packets with errors. |
count count-number |
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 format time,ip,entity,type,vnic-type
time ip entity status vnic-type ibytes ipkts obytes opkts
-------------- ------------- -------- --------- ---------- ------ ----- ------ -----
08-26,13:52:16 10.9.8.13 MyTestVM vm tagged 31.7K 507 112K 1.86K
08-28,10:20:54 192.168.30.1 vmk1 vm-kernel vMotion,VSAN
08-25,23:16:27 10.7.17.8 vmk2 vm-kernel VSAN