macsec policy
To configure a MACsec policy, use the macsec policy policy-name command. To disable the policy, use the
no form of this command.
macsec policy policy-name
no macsec policy policy-name
Syntax Description
Specifies the policy name. It can be alphanumeric.
policy-name
Command Default
The system-default-macsec-policy default policy is used.
Command Modes
Global configuration (config)
Command History
ModificationRelease
This command was introduced.8.2(1)
Usage Guidelines
To use this command, you should enable the MKA feature first.
Examples
This example shows how to configure a MACsec policy:
switch# configure terminal
switch(config)# macsec policy p1
Related Commands
DescriptionCommand
Enables the MKA feature.feature mka
Creates a key or enters the configuration mode of an
existing key.
key
Creates a keychain or enters the configuration mode
of an existing keychain.
key chain keychain-name
Configures the MACsec keychain policy.macsec keychain policy
Displays the configuration of the specified keychain.show key chain
Cisco Nexus 7000 Series Security Command Reference
502
M Commands
macsec policy