36
Step Command
Remarks
hwtacacs-scheme-name
3.
Specify HWTACACS
accounting servers.
•
Specify the primary HWTACACS
accounting server:
primary accounting
{
host-name
|
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
{
cipher
|
simple
}
string
|
single-connection
|
vpn-instance
vpn-instance-name
] *
•
Specify a secondary HWTACACS
accounting server:
secondary accounting
{
host-name
|
ipv4-address
|
ipv6
ipv6-address
} [
port-number
|
key
{
cipher
|
simple
}
string
|
single-connection
|
vpn-instance
vpn-instance-name
] *
By default, no accounting server
is specified.
Two HWTACACS accounting
servers in a scheme, primary or
secondary, cannot have the same
combination of hostname, IP
address, port number, and VPN
instance.
Specifying the shared keys for secure HWTACACS communication
The HWTACACS client and server use the MD5 algorithm and shared keys to generate the
Authenticator value for packet authentication and user password encryption. The client and server
must use the same key for each type of communication.
Perform this task to configure shared keys for servers in an HWTACACS scheme. The keys take
effect on all servers for which a shared key is not individually configured.
To specify a shared key for secure HWTACACS communication:
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 a shared key for
secure HWTACACS
authentication, authorization,
or accounting
communication.
key
{
accounting
|
authentication
|
authorization
}
{
cipher
|
simple
}
string
By default, no shared key is
specified.
The shared key configured on the
device must be the same as the
shared key configured on the
HWTACACS server.
Specifying an MPLS L3VPN instance for the scheme
The VPN instance specified for an HWTACACS scheme applies to all servers in that scheme. If a
VPN instance is also configured for an individual HWTACACS server, the VPN instance specified for
the HWTACACS scheme does not take effect on that server.
To specify a VPN instance 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 a VPN instance for
the HWTACACS scheme.
vpn-instance vpn-instance-name
By default, an HWTACACS
scheme belongs to the public