Command Line Interface

4-88

4
Example

tacacs-server key

This command sets the TACACS+ encryption key. Use the no form to restore the
default.
Syntax
tacacs-server key key-string
no tacacs-server key
key-string - Encryption key used to authenticate logon access for the
client. Do not use blank spaces in the string.
(Maximum length: 48 characters)
Default Setting
None
Command Mode
Global Configuration
Example

tacacs-server retransmit

This command sets the number of retries. Use the no form to restore the default.
Syntax
tacacs-server retransmit number_of_retries
no tacacs-server retransmit
number_of_retries - Number of times the switch will try to authenticate
logon access via the TACACS+ server. (Range: 1-30)
Default Setting
2
Command Mode
Global Configuration
Example
Console(config)#tacacs-server port 181
Console(config)#
Console(config)#tacacs-server key green
Console(config)#
Console(config)#tacacs-server retransmit 5
Console(config)#