Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

security-mode

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
security-mode security-mode;

Hierarchy Level

content_copy zoom_out_map
[edit security macsec connectivity-association connectivity-association-name]

Description

Configure the MACsec security mode for the connectivity association.

To enable MACsec on a switch-to-host link, you must use dynamic connectivity association key (CAK) mode. For links that connect switches or routers—switch-to-switch, switch-to-router, or router-to-router—you can use static CAK mode or dynamic CAK mode.

Note:

Dynamic CAK mode is not supported on logical interfaces.

Options

security-mode

Specifies the MACsec security mode. Options include:

  • dynamic—Dynamic CAK mode.

    You can use dynamic CAK mode on switch-to-host links as well as links that connect switches or routers. Dynamic CAK mode relies on 802.1X authentication with EAP-TLS. Public key infrastructure is also required for certificate validation.

  • static-cak—Static CAK mode.

    You can use static CAK mode on links that connect switching devices. In static-cak mode, the CAK must be manually configured on both peer nodes of the point-to-point MACsec link.

Required Privilege Level

admin—To view this statement in the configuration.

admin-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 13.2X50-D15.

The dynamic security mode option was introduced in Junos OS Release 14.1X53-D10.

footer-navigation