Commands
OL-32830-01 Command Line Interface Reference Guide
998
51
•
key
key-string
—(Optional) Specifies the authentication and encryption key
for all communications between the device and the
server. This key must match the encryption used on the daemon.
To specify an empty string, enter "". (Length: 0-128 characters). If this
parameter is omitted, the globally-defined key (set in the tacacs-server key
command
tacacs-server host source-interface
command) will be used.
•
key
encrypted-key-string
—(Optional) Same as key-string, but the key is in
encrypted format.
•
priority
priority
—(Optional) Specifies the order in which the
servers are used, where 0 is the highest priority. (Range: 0-65535)
Default Configuration
No host is specified.
The default port-number is 1812.
If timeout is not specified, the global value (set in the tacacs-server timeout
command) is used.
If key-string is not specified, the global value (set in the tacacs-server key
command) is used.
Command Mode
Global Configuration mode
User Guidelines
Multiple tacacs-server host commands can be used to specify multiple hosts.
Example
The following example specifies a host.
switchxxxxxx(config)#
tacacs-server host
172.16.1.1
51.2
tacacs-server host source-interface
To specify the source interface which IPv4 address will be used as the Source
IPv4 address for communication with IPv4 servers, use the
tacacs-server host source-interface Global Configuration mode command. To
restore the default configuration, use the no form of this command.
Summary of Contents for 300 Series
Page 2: ......