![H3C SR8800-F Скачать руководство пользователя страница 61](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863061.webp)
45
Step Command
Remarks
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 for secure HWTACACS
communication.
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
network.
Setting the username format and traffic statistics units
A username is typically in the
userid
@
isp-name
format, where the
isp-name
argument represents
the user's ISP domain name. By default, the ISP domain name is included in a username. If
HWTACACS servers do not recognize usernames that contain ISP domain names, you can
configure the device to send usernames without domain names to the servers.
If two or more ISP domains use the same HWTACACS scheme, configure the HWTACACS scheme
to keep the ISP domain name in usernames for domain identification.
The device reports online user traffic statistics in accounting packets. The traffic measurement units
are configurable, but they must be the same as the traffic measurement units configured on the
HWTACACS accounting servers.
To set the username format and traffic statistics units 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.
Set the format of usernames
sent to the HWTACACS
servers.
user-name-format
{
keep-original
|
with-domain
|
without-domain
}
By default, the ISP domain name
is included in a username.
4.
(Optional.) Set the data flow
and packet measurement
units for traffic statistics.
data-flow-format
{
data
{
byte
|
giga-byte
|
kilo-byte
|
mega-byte
}
|
packet
{
giga-packet
|
kilo-packet
|
mega-packet
|
one-packet
} }
*
By default, traffic is counted in
bytes and packets.