Configuring TACACS+ set tacacs server
25-66 Authentication Configuration
Example
ThisexampledisplaysconfigurationinformationforallconfiguredTACACS+servers.
Matrix(ro)->show tacacs server all
TACACS+ Server IP Address Port Timeout Status
-------------- --------------- ----- ------- -------
1 192.168.10.10 49 10 Active
2 192.168.1.116 49 10 Active
set tacacs server
UsethiscommandtoconfiguretheTACACS+server(s)tobeusedbythe TACACS+client.Youcan
configurethetimeoutvaluefor allconfiguredserversorasingleserver,oryoucanconfigurethe
IPaddress,TCPport,andsecretforasingleserver.Forsimplicity,twosyntaxstatementsare
shown.
Syntax
set tacacs server {all | index} timeout seconds
settacacsserverindexaddressportsecret
Parameters
Defaults
None.
Mode
Switchcommand,Read‐Write.
Example
ThisexampleconfiguresTACACS+server1.Thedefaulttimeoutvalueof10secondswillbe
applied.
Matrix(rw)->set tacacs server 1 192.168.10.10 49 mysecret
all SpecifythetimeoutvalueforallconfiguredTACACS+servers.
index ConfiguretheTACACS+serveridentifiedbyindex.Thevalueofindex
canrangefrom1to2,147,483,647.
timeoutseconds Setthetimeoutvalueforthespecifiedserver(s)inseconds.Thevalueof
secondscanrangefrom1to180seconds.
The
defaulttimeoutvalueis10seconds.
address SpecifytheIPaddressoftheTACACS+server.
port SpecifytheTCPportfortheTACACS+server.Thevalueofportcan
rangefrom0to65535,buttypically,port49isspecified.
secret SpecifythesecretfortheTACACS+server.