2-392
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
mka policy (interface configuration)
mka policy (interface configuration)
To apply an existing MACsec Key Agreement (MKA) Protocol policy to an interface, use the mka policy
interface configuration command. This command also enables MKA on the interface if no MKAs have
been applied. To remove an existing policy from the interface, disable MKA on the interface, and clear
any active MKA sessions running on the interface, use the no form of this command.
mka policy policy name
no mka policy
Syntax Description
Defaults No MKA policies are applied. MKA is not enabled.
Command Modes Interface configuration
Command History
Usage Guidelines If a different MKA policy was applied to the interface, entering this command clears all active MKA
sessions running on the interface.
If you enter a a policy name that is already applied to the interface, you are notified that the policy was
already applied and no sessions are cleared.
If you enter a a policy name that does not exist, you are notified that the policy was not configured.
Entering the no mka policy interface command on an interface disables MKA on the interface and clears
any active sessions that are running.
Examples This example shows the message that appears if you enter a policy name that has not been created:
Switch(config)# interface gigabitethernet 6/0/1
Switch(config-if)# mka policy test-policy
%MKA policy “test-policy” has not been configured.
This example shows the message that appears if you enter a policy name when another policy has already
been applied to the interface:
Switch(config)# interface gigabitethernet 6/0/1
Switch(config-if)# mka policy test-policy
%MKA policy change has cleared all MKA Sessions on this interface.
You can verify your setting by entering the show mka policy privileged EXEC command.
policy name Identifies an existing MKA policy to apply to the interface.
Release Modification
12.2(53)SE2 This command was introduced.