CLI Reference Guide
772 TACACS+ Commands
key
Use the key command in TACACS Configuration mode to specify the
authentication and encryption key for all TACACS communications between
the device and the TACACS server. This key must match the key used on the
TACACS daemon.
Syntax
key [
key-string
]
•key-string
— To specify the key name. (Range: 1
–
128 characters)
Default Configuration
If left unspecified, the key-string parameter defaults to the global value.
Command Mode
TACACS Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example specifies an encryption and authentication key of 12.
console(tacacs)#key 12
key encrypted
Use the key encrypted command to configure an encrypted key that is shared
with the TACACS server. Use the no form of the command to remove the key.
Syntax
key encrypted
key-string
port tacacs-server key encrypted
priority tacacs-server timeout
show tacacs timeout
2CSNXXX_SWUM200.book Page 772 Tuesday, December 10, 2013 1:22 PM










