Table Of Contents
K Commands
This chapter describes the Cisco NX-OS Multiprotocol Label Switching commands that begin with K.
key
To configure an authentication key on a keychain, use the key command. To return to the default setting, use the no form of this command.
key key-id
no key key-id
Syntax Description
Defaults
None
Command Modes
Keychain key configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure an authentication key on a keychain:
switch# configure terminal
switch(config)# key chain keychain1
switch(config-keychain)# key 10
switch(config-keychain-key)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
key chain
To configure a group of authentication keys, use the key chain command. To return to the default setting, use the no form of this command.
key chain keychain-name
no key chain keychain-name
Syntax Description
Defaults
None
Command Modes
Keychain configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure a group of authentication keys:
switch# configure terminal
switch(config)# key chain keychain1
switch(config-keychain)# key 10
switch(config-keychain-key)#Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).
key-string
To configure an authentication string for a key, use the key-string command. To return to the default setting, use the no form of this command.
key-string key
no key-string key
Syntax Description
key
Authentication string for a key. The key can be from 1 to 80 uppercase or lowercase alphanumeric characters. The first character cannot be a numeral.
Defaults
None
Command Modes
Keychain key configuration mode
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
This command requires the MPLS Services license.
Examples
This example shows how to configure an authentication string for a key:
switch# configure terminal
switch(config)# key chain keychain1
switch(config-keychain)# key 10
switch(config-keychain-key)# key-string pwd1
Related Commands
Command Descriptionmpls ldp configuration
Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).