A SERVICE OF

logo

2-662
Catalyst 6500 Series Switch Command Reference—Release 8.1
78-15474-01
Chapter 2 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 quotation marks are not required, even if
there are spaces between words in the key, unless the quotation marks themselves are part of the key. The
key can consist of any printable ASCII characters except the tab character.
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.