128
Syntax
primary authentication
{
host-name
|
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
{
cipher
|
simple
}
string
|
single-connection
|
vpn-instance vpn-instance-name
] *
undo primary authentication
Default
The primary HWTACACS authentication server is not specified.
Views
HWTACACS scheme view
Predefined user roles
network-admin
mdc-admin
Parameters
host-name
: Specifies the host name of the primary HWTACACS authentication server, a
case-insensitive string of 1 to 253 characters.
ipv4-address
: Specifies the IPv4 address of the primary HWTACACS authentication server.
ipv6
ipv6-address
: Specifies the IPv6 address of the primary HWTACACS authentication server.
port-number
: Specifies the service port number of the primary HWTACACS authentication server.
The value range for the TCP port number is 1 to 65535. The default setting is 49.
key
: Specifies the shared key for secure communication with the primary HWTACACS
authentication server.
cipher
: Specifies the key in encrypted form.
simple
: Specifies the key in plaintext form. For security purposes, the key specified in plaintext form
will be stored in encrypted form.
string
: Specifies the key. This argument is case sensitive.
•
In non-FIPS mode, the encrypted form of the key is a string of 1 to 373 characters. The plaintext
form of the key is a string of 1 to 255 characters.
•
In FIPS mode, the encrypted form of the key is a string of 15 to 373 characters. The plaintext
form of the key is a string of 15 to 255 characters. The plaintext string must contain digits,
uppercase letters, lowercase letters, and special characters.
single-connection
: The device and the primary HWTACACS authentication server use the same
TCP connection to exchange all authentication packets for all users. If you do not specify this
keyword, the device establishes a new TCP connection each time it exchanges authentication
packets with the primary authentication server for a user.
vpn-instance vpn-instance-name
: Specifies an MPLS L3VPN instance to which the primary
HWTACACS authentication server belongs. The
vpn-instance-name
argument is a case-sensitive
string of 1 to 31 characters. If the server is on the public network, do not specify this option.
Usage guidelines
Make sure the port number and shared key settings of the primary HWTACACS authentication
server are the same as those configured on the server.
Two authentication servers specified for a scheme, primary or secondary, cannot have identical VPN
instance, host name, IP address, and port number settings.
As a best practice, specify the
single-connection
keyword to reduce TCP connections for improving
system performance if the HWTACACS server supports the single-connection method.