tacacs-server host
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
tacacs-server host
To configure TACACS+ server options on a switch, use the tacacs-server host command in
configuration mode. Use the no form of the command to revert to factory defaults.
Syntax Description
server-name
ipv4-address
ipv6-address
key
0
7
shared secret
port port-number
test
idle-time time
password password
username name
timeout
seconds
Defaults
Idle-time is not set. Server monitoring is turned off.
Timeout is 1 second.
Username is test.
Password is test.
Command Modes
Configuration mode.
Cisco MDS 9000 Family Command Reference
23-8
tacacs-server host {server-name | ipv4-address | ipv6-address}
[key [0|7] shared-secret] [port port-number]
[test {idle-time time | password password | username name}]
[timeout seconds]
no tacacs-server host {server-name | ipv4-address | ipv6-address}
[key [0|7] shared-secret] [port port-number]
[test {idle-time time | password password | username name}]
[timeout seconds]
Specifies the TACACS+ server DNS name. The maximum character size is
256.
Specifies the TACACS+ server IP address. in the format A.B.C.D.
Specifies the TACACS+ server IP address in the format X:X::X.
Configures the TACACS+ server's shared secret key.
Configures a preshared key specified in clear text (indicated by 0) to
authenticate communication between the TACACS+ client and server. This
is the default.
Configures a preshared key specified in encrypted text (indicated by 7) to
authenticate communication between the TACACS+ client and server.
Configures a preshared key to authenticate communication between the
TACACS+ client and server.
Configures a TACACS+ server port for authentication. The range is 1 to
65535.
Configures parameters to send test packets to the TACACS+ server.
Specifies the time interval (in minutes) for monitoring the server. The time
range is 1 to 1440 minutes.
Specifies a user password in the test packets. The maximum size is 32.
Specifies a user name in the test packets. The maximum size is 32.
Configures a TACACS+ server timeout period.
Specifies the timeout (in seconds) between retransmissions to the TACACS+
server. The range is 1 to 60 seconds.
Chapter 23
T Commands
OL-18089-01, Cisco MDS NX-OS Release 4.x