set tacacs server

Use this command to configure the TACACS+ server(s) to be used by the TACACS+ client.

Syntax

set tacacs server {index [ipaddress port [secret]] | all timeout timeout}

Parameters

all Specify the timeout value for all configured TACACS+ servers.
index Configure the TACACS+ server identified by index. The value of index can range from 1 to 2147483647.
timeout seconds Set the timeout value for the specified server(s) in seconds. The value of seconds can range from 1 to 180 seconds.

The default timeout value is 10 seconds.

ipaddress Specify the IP address of the TACACS+ server.
port Specify the TCP port for the TACACS+ server. The value of port can range from 0 to 65535, but typically, port 49 is specified.
secret Specify the secret for the TACACS+ server.

Defaults

None.

Mode

All command modes.

Usage

You can configure the timeout value for all configured servers or a single server, or you can configure the IP address, TCP port, and secret for a single server.

Example

This example configures TACACS+ server 1. The default timeout value of 10 seconds will be applied.

System(rw)->set tacacs server 1 192.168.10.10 49 mysecret