auth-key

Configures an authentication key for Intermediate System-to-Intermediate System (IS-IS) globally.

Syntax

auth-key { level-1 | level-2 } string
no auth-key { level-1 | level-2 }

Command Default

No authentication key is configured.

Parameters

level-1
Specifies Level 1 packets only.
level-2
Specifies Level 2 packets only.
string
Specifies a text string that is used as an authentication password. The string can be from 1 through 63 ASCII characters in length.

Modes

IS-IS router configuration mode

Usage Guidelines

IS-IS is supported only on devices based on the DNX chipset family. For a list of such devices, see "Supported Hardware".

The authentication mode must be configured using the auth-mode command before an authentication password can be configured. If the authentication mode is reset for the level specified, the authentication key must also be reset.

The no form of the command removes the IS-IS authentication key.

Examples

The following example configures an authentication key for Level 1 packets.

device# configure terminal
device(config)# router isis
device(config-isis-router)# auth-key level-1 mykey

The following example configures an authentication key for Level 2 packets.

device# configure terminal
device(config)# router isis
device(config-isis-router)# auth-key level-2 mysecurekey