34
Creating an HWTACACS scheme
Create an HWTACACS scheme before performing any other HWTACACS configurations. You can
configure a maximum of 16 HWTACACS schemes. An HWTACACS scheme can be used by multiple
ISP domains.
To create an HWTACACS scheme:
1. Enter system view.
system-view
N/A
2.
Create an HWTACACS
scheme and enter
HWTACACS scheme view.
hwtacacs scheme
hwtacacs-scheme-name
By default, no HWTACACS
scheme is defined.
Specifying the HWTACACS authentication servers
You can specify one primary authentication server and a maximum of 16 secondary authentication
servers for an HWTACACS scheme. When the primary server is not available, the device searches
for the secondary servers in the order they are configured. The first secondary server in active state
is used for communication.
If redundancy is not required, specify only the primary server. An HWTACACS server can function as
the primary authentication server in one scheme and as the secondary authentication server in
another scheme at the same time.
To specify an HWTACACS server by hostname in an MPLS VPN network, first complete one of the
following tasks on the device:
• Configure hostname-to-IP address mappings for the VPN by using the ip host or ipv6 host
command.
• Configure a DNS server for the VPN by using the dns server or ipv6 dns server command.
For more information about these commands, see Layer 3—IP Services Command Reference.
To specify HWTACACS authentication servers for an HWTACACS scheme:
1. Enter system view.
system-view
N/A
2. E
scheme view.
hwtacacs scheme
hwtacacs-scheme-name
N/A
3. Specify HWTACACS
authentication servers.
• Specify
authentication server:
primary authentication
{ host-name | ipv4-address | ipv6
ipv6-address } [ port-number | key
{ cipher | simple } string |
single-connection | vpn-instance
vpn-instance-name ] *
• Specify a
authentication server:
secondary authentication
{ host-name | ipv4-address | ipv6
ipv6-address } [ port-number | key
{ cipher | simple } string |
single-connection | vpn-instance
vpn-instance-name ] *
By default, no authentication
server is specified.
Two HWTACACS authentication
servers in a scheme, primary or
secondary, cannot have the
same combination of hostname,
IP address, port number, and
VPN.
Specifying the HWTACACS authorization servers
You can specify one primary authorization server and a maximum of 16 secondary authorization
servers for an HWTACACS scheme. When the primary server is not available, the device searches