Cisco Nexus 7000 Series NX-OS MPLS Command Reference
K Commands
Downloads: This chapterpdf (PDF - 118.0KB) The complete bookPDF (PDF - 5.67MB) | Feedback

K Commands

Table Of Contents

K Commands

key

key chain

key-string


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

key-id

Key ID. The range is from 0 to 65535.


Defaults

None

Command Modes

Keychain key configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


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
Description

mpls 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

keychain-name

Key chain name. The maximum size is alphanumeric 32 characters.


Defaults

None

Command Modes

Keychain configuration mode

Supported User Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


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
Description

mpls 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 Roles

network-admin
vdc-admin

Command History

Release
Modification

5.2(1)

This command was introduced.


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
Description

mpls ldp configuration

Configures the Multiprotocol Label Switching (MPLS) Label Distribution Protocol (LDP).