key-id

Use this command to manage, add or delete authentication keys in a key chain. This command allows you to enter the keychain-key mode to set a password for the key.

Command Syntax

Copy
key-id <0-2147483647>
no key-id <0-2147483647>

Parameters

<0-2147483647>

Specify a key identifier.

Default

By default, BFD uses level-1-2 if there is no Level-2 instance nor a Level-1-2 instance. Otherwise, it uses level-1.

Command Mode

Key-chain mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

The following example configures a key number 1 and shows the change to keychain-key command mode.

Copy
#configure terminal
(config)#key chain mychain
(config-keychain)#key-id 1
(config-keychain-key)#