Show command for MACsec status on a port
Syntax
show macsec status <port-num>
Show the status of all MACsec-enabled ports.
show macsec status
switch(config)# show macsec status A1
show command output
switch(config)# show macsec status A1 Status and Configuration - MACsec Protocol Interface : A1 Policy : Policy1 Transmitting : Yes Receiving : Yes Protection : Confidentiality Transmit secure Channel SCI : 000C29F6A4380004c Secure Association Association Number : 1 (old) KI : 4F18CE25228178FD15976E4C LPN : 2 SA-Start-time : 01:02:19 SA-Stop-time : 02:04:29 Association Number : 0 (current) KI : 4F18CE25228178FD15976E4C LPN : 3 SA-Start : 04:05:11 SA-Stop-time : 04:10:12 Receive secure Channel SCI : 000C29F6A4380003b Secure Association Association Number : 0 (current) KI : 4F18CE29456aefFD15976E4C LPN : 121198 SA-Start : 04:05:12 SA-Stop-time : 04:10:13
Validation |
Error/Warning/Prompt |
---|---|
Check whether MACsec is enabled on the port. |
MACsec is not enabled on port %s. |