show statistics
show statistics
[
brief
]
[
ethernet
unit/slot/port
[
to
unit/slot/port
|
[
ethernet
unit/slot/port
to
unit/slot/port
|
ethernet
unit/slot/port
]
[
lag
lag-id
to
lag-id
|
lag
lag-id
]...
]
show statistics
[
brief
]
[
lag
lag-id
[
to
lag-id
|
[
lag
lag-id
to
lag-id
|
lag
lag-id
]
[
ethernet
unit/slot/port
to
unit/slot/port
|
ethernet
unit/slot/port
]...
]
User EXEC mode
Privileged EXEC mode
Global configuration mode
Interface configuration mode
When you use the brief option, the output will have fewer fields.
You can view the packet statistics for a specific Ethernet interface, a list of Ethernet interfaces, and a range of Ethernet interfaces.
The
show statistics
ethernet and
show statistics
management command display the following information.
show statistics
command without any options, and the output of the
show statistics command when using the
brief option along with
ethernet,
management, or
unit options display only the Port, In Packets, Out Packets, In Errors, and Out Errors
fields.
The following is sample output from the
show statistics
brief management command.
device(config)# show statistics brief management 1 Port In Packets Out Packets Trunk In Errors Out Errors mgmt1 39946 2 2 0 0 Total 39945 2 2 0 0
The following is sample output from the
show statistics
management command.
device# show statistics management 1
Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name
mgmt1 Down None None None None No None 0 748e.f80c.4100
Port mgmt1 Counters:
InOctets 0 OutOctets 0
InPkts 0 OutPkts 0
InBroadcastPkts 0 OutBroadcastPkts 0
InMulticastPkts 0 OutMulticastPkts 0
InUnicastPkts 0 OutUnicastPkts 0
InBadPkts 0
InFragments 0
InDiscards 0 OutErrors 0
CRC 0 Collisions 0
InErrors 0 LateCollisions 0
InGiantPkts 0
InShortPkts 0
InJabber 0
InFlowCtrlPkts 0 OutFlowCtrlPkts 0
InBitsPerSec 0 OutBitsPerSec 0
InPktsPerSec 0 OutPktsPerSec 0
InUtilization 0.00% OutUtilization 0.00%
The following is sample output from the
show statistics
ethernet command.
device# show statistics ethernet 1/1/1
Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name
1/1/1 Up Forward Half 100M None No 1 0 748e.f80c.4100
Port 1/1/1 Counters:
InOctets 3200 OutOctets 256
InPkts 50 OutPkts 4
InBroadcastPkts 0 OutBroadcastPkts 3
InMulticastPkts 48 OutMulticastPkts 0
InUnicastPkts 2 OutUnicastPkts 1
InBadPkts 0
InFragments 0
InDiscards 0 OutErrors 0
CRC 0 Collisions 0
InErrors 0 LateCollisions 0
InGiantPkts 0
InShortPkts 0
InJabber 0
InFlowCtrlPkts 0 OutFlowCtrlPkts 0
InBitsPerSec 264 OutBitsPerSec 16
InPktsPerSec 0 OutPktsPerSec 0
InUtilization 0.00% OutUtilization 0.00%
The following is sample output from the
show statistics brief command.
device# show statistics brief Port In Packets Out Packets In Errors Out Errors 1/1/1 7457812 7285553 3 0 1/1/2 5152995469 3731 3 0 1/1/3 472053 129827661 3 0 1/1/4 5153892037 441237 5 0 1/1/5 0 4951785603 0 0 1/1/6 0 0 0 0 1/1/7 0 0 0 0 1/1/8 0 0 0 0 1/1/9 0 0 0 0 1/1/10 0 0 0 0 1/1/11 0 0 0 0 1/1/12 829 138169869 0 0 lg1 700 7000 0 0 lg256 802 8002 0 0
| Release version | Command history |
|---|---|
| 08.0.61 | This command was modified to add lag lag-id options. |