Clear MACsec Statistics
About this task
You have the option to clear MACsec statistics for all ports, or clear MACsec statistics for a specific port. Clearing MACsec statistics can be useful for debugging purposes.
Procedure
Example
Clear all MACsec statistics:
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#macsec clear-stats
Clear MACsec statistics for a specific port:
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#macsec clear-stats port 1/3
Variable Definitions
Use the data in the following table to use the clear macsec-stats command.
Variable | Value |
---|---|
port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} |
Identifies the
slot and port in one of the following formats:
|