116
Parameters
data
{
byte
|
giga-byte
|
kilo-byte
|
mega-byte
}: Specifies the unit for data flows, which can be
byte, kilobyte, megabyte, or gigabyte.
packet
{
giga-packet
|
kilo-packet
|
mega-packet
|
one-packet
}: Specifies the unit for data
packets, which can be one-packet, kilo-packet, mega-packet, or giga-packet.
Usage guidelines
The data flow and packet measurement units for traffic statistics must be the same as configured on
the HWTACACS accounting servers. Otherwise, accounting results might be incorrect.
Examples
# In HWTACACS scheme
hwt1
, set the data flow and packet measurement units for traffic statistics
to kilobyte and kilo-packet, respectively.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] data-flow-format data kilo-byte packet kilo-packet
Related commands
display hwtacacs scheme
display hwtacacs scheme
Use
display hwtacacs scheme
to display the configuration or statistics of HWTACACS schemes.
Syntax
display hwtacacs scheme
[
hwtacacs-scheme-name
[
statistics
] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
hwtacacs-scheme-name
: Specifies an HWTACACS scheme by its name, a case-insensitive string of
1 to 32 characters. If you do not specify an HWTACACS scheme, this command displays the
configuration of all HWTACACS schemes.
statistics
: Displays the HWTACACS service statistics. If you do not specify this keyword, the
command displays the configuration of the HWTACACS scheme.
Examples
# Displays the configuration of all HWTACACS schemes.
<Sysname> display hwtacacs scheme
Total 1 HWTACACS schemes
------------------------------------------------------------------
HWTACACS Scheme Name : hwtac
Index : 0
Primary Auth Server:
IP : 2.2.2.2 Port: 49 State: Active
VPN Instance: 2