51
OL-32830-01 Command Line Interface Reference Guide 997
TACACS+ Commands
51
51.1 tacacs-server host
To specify a TACACS+ host, use the tacacs-server host Global Configuration
mode command. To delete the specified TACACS+ host, use the no form of this
command.
Syntax
tacacs-server host {
ip-address
|
hostname
}
[single-connection] [port
port-number
]
[timeout
timeout
] [key
key-string
] [priority
priority
]
encrypted tacacs-server host {
ip-address
|
hostname
}
[single-connection] [port
port-number
] [timeout
timeout
] [key
encrypted-key-string
] [priority
priority
]
no tacacs-server host {
ip-address
|
hostname
}
Parameters
• host
ip-address
—Specifies the TACACS+ server host IP address. The IP
address can be an IPv4, IPv6 or IPv6z address.
• host
hostname
—Specifies the TACACS+ server host name. (Length: 1-158
characters. Maximum label length of each part of the host name: 63
characters)
• single-connection—(Optional) Specifies that a single open connection is
maintained between the device and the daemon, instead of the device
opening and closing a TCP connection to the daemon each time it
communicates.
• port
port-number
—(Optional) Specifies the TACACS server TCP port
number. If the port number is 0, the host is not used for authentication.
(Range: 0-65535)
• timeout
timeout
—(Optional) Specifies the timeout value in seconds. (Range:
1-30)