Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show security macsec connections (MX Series)

Syntax

Description

Display the status of the active MACsec connections on the router.

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

Output 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

Encryption 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) or dynamic security mode.

Key server offset

The offset value in a packet from which encryption can be performed.

The offset is set using the offset statement when configuring the connectivity association when using static connectivity association key (CAK) or dynamic 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 MX Series routers.

By default, include SCI tag is disabled. You can enable SCI tagging using the include-sci statement in the connectivity association configuration.

Replay protect

By default, replay protection is disabled. Replay protection ensures that a snooped packet is not replayed or a packet number is reused. 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 configuration.

Replay window

Number of packets that can be replayed. Must be configured with replay protection. 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 configuration.

Sample Output

show security macsec connections

show security macsec connections (MX480 routers with MPC7E-10G)

show security macsec connections (MX480 routers with MPC7E-10G)

Release Information

Command introduced in Junos OS Release 15.1.

Support for MPC7E-10G introduced in Junos OS Release 16.1R1 for MX240, MX480, and MX960 routers.