Display MACsec statistics for all ports or for an individual port.
show macsec statistics
show macsec statistics {slot/port[/sub-port][-slot/port[/sub-port]][,...]}
show macsec statistics {slot/port[/sub-port][-slot/port[/sub-port]][,...]} secure channel <inbound | outbound>
None.
User EXEC
The show macsec statistics command displays the following information:
|
Output field |
Description |
|---|---|
|
Port ID |
Specifies the ID of the port to which the MACsec statistics apply. |
|
TxUntagged Packets |
Specifies the number of transmitted packets without the MAC security tag (SecTAG), with MACsec disabled on the interface. |
|
TxTooLong Packets |
Specifies the number of transmitted packets discarded because the packet length is greater than the Maximum Transmission Unit (MTU) of the Common Port interface. |
|
RxUntagged Packets |
Specifies the number of received packets without the SecTAG, with MACsec not operating in strict mode. |
|
RxNoTag Packets |
Specifies the number of received packets without the SecTAG, with MACsec operating in strict mode. |
|
RxBadTag Packets |
Specifies the number of received packets discarded with an invalid SecTAG, or with a zero value Packet Number (PN)/invalid Integrity Check Value (ICV). |
|
RxUnknown SCIPackets |
Specifies the number of packets received with an unknown Secure Channel Identifier (SCI) and with MACsec not operating in strict mode. |
|
RxNoSCI Packets |
Specifies the number of packets received with an unknown SCI and with MACsec operating in strict mode. |
|
RxOverrun Packets |
Specifies the number of packets discarded because the number of received packets exceeded the cryptographic performance capabilities. |
The following example displays MACsec statistics for a specific port.
Switch:1>show macsec statistics 1/13
====================================================================================================
MACSEC Port Statistics
====================================================================================================
TxUntagged TxTooLong RxUntagged RxNoTag
PortId Packets Packets Packets Packets
----------------------------------------------------------------------------------------------------
1/13 0 0 0 0
RxBadTag RxUnknown RxNoSCI RxOverrun
PortId Packets SCIPackets Packets Packets
----------------------------------------------------------------------------------------------------
1/13 0 0 0 0