mka policy

Syntax

mka policy没有mka policy

Description

Creates the specified MKA (MACsec Key Agreement) policy and then enters its context (displayed in the CLI asconfig-mka-policy). If the MKA policy already exists, this command enters the specified MKA policy context.

An MKA policy can be applied to one or more switch ports, enabling MKA on the ports. A MACsec policy must be applied to the same ports.

The没有form of this command deletes the MKA policy.
NOTE:

An MKA policy cannot be deleted if it is currently applied to any ports. All application of the policy must be removed before the policy can be deleted.

Command context

config

Parameters

指定MKA波利奇y name. Range: 1 to 32 alphanumeric characters including only the three special characters "." (period), "-" (hyphen), and "_" (underscore).

Authority

Administrators or local user group members with execution rights for this command.

Examples

创建一个MKA政策:

switch(config)#mka policy MKA_Policy1switch(config-mka-policy)#

Deleting an MKA policy (the policy cannot be currently applied to any ports):

switch(config)#没有mka policy MKA_Policy1