Authentication Commands

4-87

4

tacacs-server host

This command specifies the TACACS+ server. Use the no form to restore the
default.
Syntax
[no] tacacs-server index host host-ip-address [port port-number]
[timeout timeout] [retransmit retransmit] [key key]
index - Specifies the index number of the server. (Range: 1)
host-ip-address - IP address of the server.
port-number - The TACACS+ server TCP port used for authentication
messages. (Range: 1-65535)
timeout - Number of seconds the switch waits for a reply before resending
a request. (Range: 1-540 seconds)
retransmit - Number of times the switch will resend an authentication
request to the TACACS+ server. (Range: 1-30)
key - Encryption key used to authenticate logon access for client. Do not
use blank spaces in the string. (Maximum length: 48 characters)
Default Setting
port - 49
timeout - 5 seconds
retransmit - 2
Command Mode
Global Configuration
Example

tacacs-server port

This command specifies the TACACS+ server network port. Use the no form to
restore the default.
Syntax
tacacs-server port port-number
no tacacs-server port
port-number - TACACS+ server TCP port used for authentication
messages. (Range: 1-65535)
Default Setting
49
Command Mode
Global Configuration
Console(config)#tacacs-server 1 host 192.168.1.25
Console(config)#