Commands
tacacs-server host
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
464
37
User Guidelines
The switch can be configured to use this default key or to use a key for an
individual server. If you set a default key and a key string for an individual
server, the key string configured for the individual server
takes precedence.
Example
The following example sets accounting12345 as the authentication and encryption
key for all servers:
switchxxxxxx(config)#
tacacs-server default-param key accounting12345
tacacs-server host
To define a host, use the tacacs-server host Global Configuration mode
command.
To delete a host, use the no form of this command.
Syntax
tacacs-server host
{
ip-address
|
hostname
} [key
key-string
] [port
port-number
]
[priority
priority
] [timeout
timeout
]
no tacacs-server host {
ip-address
|
hostname
}
Parameters
•
ip-address
—IP address of the server.
•
hostname
—Hostname of the server.
•
key
key-string
—(Optional) Specifies the authentication and encryption key
for all communications between the switch and the
server. This key must match the encryption used on the daemon.
To specify an empty string, enter "".
•
port
port-number
—(Optional) Specifies the TCP port number through
which the session occurs. If the port number is set to 0, the host
is not used for authentication. (Range: 0 to 65535, default: 49)