pre-shared-key

Syntax

pre-shared-key ckncak {plaintext [] | ciphertext} no pre-shared-key

Description

In theconfig-mka-policypolicy context, configures the pre-shared key by setting the CKN (Connectivity Association Key Name) and the CAK (Connectivity Association Key). When plaintext CAK is specified without providing the CAK, it is prompted.

Thenoform of this command deletes the PSK configuration including the CKN and CAK.

Command context

config-mka-policy

Parameters

Specifies the CKN (Connectivity Association Key Name). Range: 1 to 64 hexadecimal characters.

plaintext []

Specifies the CAK (Connectivity Association Key) in plaintext. Range: 1 to 64 hexadecimal characters.

ciphertext

Specifies the CAK (Connectivity Association Key) as ciphertext.

Authority

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

Examples

配置与指定的pl pre-shared键aintext CAK:

switch(config-mka-policy)#pre-shared-key ckn abcdef12 cak plaintext 123abcdef

Configuring the pre-shared key with a prompted plaintext CAK:

switch(config-mka-policy)#pre-shared-key ckn abcdef12 cak plaintextEnter CAK:******Confirm CAK:******

Configuring the pre-shared key with a ciphertext CAK:

switch(config-mka-policy)#pre-shared-key ckn abcdef12 cak ciphertext AQBapUvjDZgUxtTpgA4NLqnsn7CjXqbDch+BOS7y9fcWExLUBgAAAKUmDYdhew==

Deleting the PSK configuration including its CKN and CAK:

switch(config-mka-policy)#no pre-shared-key