488 TACACS+ Commands
tacacs-server host
Use the tacacs-server host command in Global Configuration mode to configure a TACACS+ 
server. This command enters into the TACACS+ configuration mode. To delete the specified 
hostname or IP address, use the no form of this command.
Syntax
tacacs-server host {
ip-address
|
hostname
}
no tacacs-server host {
ip-address
|
hostname
}
•
ip-address
 — 
The IP address of the TACACS+ server.
•
hostname — 
The hostname of the TACACS+ server. (Range: 1-255 characters).
Default Configuration
No TACACS+ host is specified.
Command Mode
Global Configuration mode
User Guidelines
To specify multiple hosts, multiple tacacs-server host commands can be used. 
Example
The following example specifies a TACACS+ host.
console(config)#tacacs-server host 172.16.1.1
console(tacacs)#
tacacs-server key
Use the tacacs-server key command in Global Configuration mode to set the authentication 
and encryption key for all TACACS+ communications between the switch and the TACACS+ 
daemon. To disable the key, use the no form of this command.
Syntax
tacacs-server key [ key-string ]
no tacacs-server key
•
key-string
 — Specifies the authentication and encryption key for all TACACS 
communications between the switch and the TACACS+ server. This key must match the key 
used on the TACACS+ daemon. (Range: 0–128 characters)