Related Documentation
show security macsec connections
Syntax
Release Information
Command introduced in Junos OS Release 13.2X50-D15.
Description
Display the status of the active MACsec connections on the switch.
Options
none | — | Display MACsec connection information for all interfaces on the switch. |
interface interface-name | — | (Optional) Display MACsec connection information for the specified interface only. |
Required Privilege Level
view
Related Documentation
List of Sample Output
show security macsec connectionsOutput Fields
Table 1 lists the output fields for the show security macsec connections command. Output fields are listed in the approximate order in which they appear.
Table 1: show security macsec connections Output Fields
Field Name | Field Description |
|---|---|
| Fields for Interface | |
Interface name | Name of the interface. |
CA name | Name of the connectivity association. A connectivity association is named using the connectivity-association statement when you are enabling MACsec. |
Cipher suite | Name of the cipher suite used for encryption. |
Encryption | Encyption setting. Encryption is enabled when this output is on and disabled when this output is off. The encryption setting is set using the no-encryption statement in the connectivity association when using static connectivity association key (CAK) security mode and is set using the encryption statement in the secure channel when using static secure association key (SAK) security mode. |
Key server offset | Offset setting. The offset is set using the offset statement when configuring the connectivity association when using static connectivity association key (CAK) security mode or the secure channel when using static secure association key (SAK) security mode. |
Include SCI | SCI tagging. The SCI tag is included on packets in a secure channel when this output is yes, and not included on packets in a secure channel when this output is no. SCI tagging is automatically enabled on EX4300 switch interfaces that have enabled MACsec using static connectivity association key (CAK) security mode. You can enable SCI tagging using the include-sci statement in the connectivity association. |
Replay protect | Replay protection setting. Replay protection is enabled when this output is on and disabled when this output is off. You can enable replay protection using the replay-protect statement in the connectivity association. |
Replay window | Replay protection window setting. This output is set to 0 when replay protection is disabled, and is the size of the replay window, in number of packets, when replay protection is enabled. The size of the replay window is configured using the replay-window-size statement in the connectivity association. |
Sample Output
show security macsec connections
user@host> show security macsec connectionsInterface name: xe-0/1/0
CA name: CA1
Cipher suite: GCM-AES-128 Encryption: on
Key server offset: 0 Include SCI: no
Replay protect: off Replay window: 0