2-633
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set tacacs key
set tacacs key
To set the key for TACACS+ authentication and encryption, use the set tacacs key command.
set tacacs key key
Syntax Description
Defaults The default value of key is null.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines The key must be the same key used on the TACACS+ server. All leading spaces are ignored. Spaces
within the key and at the end of the key are included. Double quotat ion m arks ar e not requi red , even if
there are spaces between words in the key, unless the quo tation marks them selves are part of the k ey . Th e
key can consist of any printable ASCII character s exc ept th e t a b ch ar ac ter.
The key length must be less than 100 characters long.
Examples This example shows how to set the authentication and encryption key:
Console> (enable) set tacacs key Who Goes There
The tacacs key has been set to Who Goes There.
Console> (enable)
Related Commands clear spantree uplinkfast
show tacacs
key Printable ASCII characters used for authentication and encryption.