120
Global Mode
tacacs-server authentication host
<IPaddress> [[port {<portNum>}]
[primary]]
no tacacs-server authentication host
<IPaddress>
Configure the IP address and listen port
number of the authentication
server; the “no” form of this command
deletes the authentication
server
3) Configure the authentication timeout time
Command Explanation
Global Mode
tacacs-server timeout <secondss>
no tacacs-server timeout
Configure the authentication timeout for
the server, the “
no
tacacs-server timeout
” command
restores the default configuration
2.9.3 Commands for
2.9.3.1 tacacs-server authentication host
Command:tacacs-server authentication host <ip-address> [port <port-number>]
[primary]
no tacacs-server authentication host <ip-address>
Function:
Configure the IP address and listening port number of the server;
the “no” form of this command deletes authentication server.
Parameter: <ip-address>
is the IPof the server;
<port-number>
is the listening port
number of the server,the valid range is 0~65535,amongst 0 indicates it will not be an
authentication server;
primary
indicates it’s a primary server.
Command Mode:
Global Mode
Default:
No authentication configured on the system by default
Usage Guide:
This command is for specifying the IP address and port number of the
server used on authenticating with the switch. The parameter port is for define
an authentication port number which must be in accordance with the authentication port
number of specified server which is 49 by default. This command can
configure several servers communicate with the switch. The configuration
sequence will be used as authentication server sequence, and in case
primary
is
configured on one server, the server will be the primary server.
Example:
Configure the authentication server address to 192.168.1.2
Switch(Config)#tacacs-server authentication host 192.168.1.2