Chapter 27: and RADIUS Commands
286
ADD TACACSSERVER
Syntax
add tacacsserver ipaddress=
ipaddress
order=
integer
[secret=
string
]
Parameters
ipaddress
Specifies an IP address of a server.
order
Specifies the order that your server is queried by
the switch. You can assign order to up to 3 servers.
Assigning a server to an order of 1 means this is the first
server queried.
secret
Specifies the optional encryption key used on this server.
Note
The encryption keys in are specific to and are
independent of the key set with the Encryption commands.
Description
Use this command to add the IP address of a server to your
switch along with the order the server is queried and an
optional encryption key.
Examples
The following command adds a server with an IP address of
149.245.22.20 and an order value of 1:
add tacacsserver ipaddress=149.245.22.20 order=1
The following command adds a server with an IP address of
149.245.22.24, an order of 2, and an encryption code of lioness54:
add tacacsserver ipaddress=149.245.22.24 order=2
secret=lioness54
The following command adds a server with an IP address of
149.245.22.26 and specifies that this server is the third
server to be queried by the switch.
add tacacsserver ipaddress=149.245.22.26 order=3