CLI Reference Guide
TACACS+ Commands 777
Command Mode
Global Configuration mode
User Guidelines
The tacacs-server key command accepts any printable characters for the key
except a double quote or question mark. Enclose the string in double quotes
to include spaces within the key. The surrounding quotes are not used as part
of the name. The CLI does not filter illegal characters and may accept entries
up to the first illegal character or reject the entry entirely.
Example
The following example sets the authentication encryption key.
console(config)#tacacs-server key "I've got a secret"
console(config)#tacacs-server key @#$%^&*()_+=-{}][<>.,/';:|
tacacs-server key encrypted
Use this command to set the authentication and encryption key for the
communication between the switch and TACACS server. Use the no form of
the command to disable the key.
Syntax
tacacs-server key encrypted
key-string
•
key-string
—The key string in encrypted form. It should be 256 characters
in length.
Default Configuration
There is no default configuration for this command.
Command Modes
Global Configuration mode.
User Guidelines
This command has no user guidelines.
2CSNXXX_SWUM200.book Page 777 Tuesday, December 10, 2013 1:22 PM










