35
•
Configure hostname-to-IP address mappings for the VPN instance by using the
ip host
or
ipv6
host
command.
•
Configure a DNS server for the VPN instance 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 authorization servers for an HWTACACS scheme:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter HWTACACS
scheme view.
hwtacacs scheme
hwtacacs-scheme-name
N/A
3.
Specify HWTACACS
authorization servers.
•
Specify the primary HWTACACS
authorization server:
primary authorization
{
host-name
|
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
{
cipher
|
simple
}
string
|
single-connection
|
vpn-instance
vpn-instance-name
] *
•
Specify a secondary HWTACACS
authorization server:
secondary authorization
{
host-name
|
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
{
cipher
|
simple
}
string
|
single-connection
|
vpn-instance
vpn-instance-name
] *
By default, no authorization server
is specified.
Two HWTACACS authorization
servers in a scheme, primary or
secondary, cannot have the same
combination of hostname, IP
address, port number, and VPN
instance.
Specifying the HWTACACS accounting servers
You can specify one primary accounting server and a maximum of 16 secondary accounting 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 act as the
primary accounting server of one scheme and as the secondary accounting server of another
scheme at the same time.
HWTACACS does not support accounting for FTP, SFTP, and SCP users.
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 instance by using the
ip host
or
ipv6
host
command.
•
Configure a DNS server for the VPN instance 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 accounting servers for an HWTACACS scheme:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter HWTACACS
scheme view.
hwtacacs scheme
N/A