120
Use the
undo data-flow-format
command to restore the default.
By default, the unit for data flows is
byte
and that for data packets is
one-packet
.
The unit for data flows and that for packets must be consistent with those on the HWTACACS server.
Otherwise, accounting cannot be performed correctly.
Related commands:
display hwtacacs
.
Examples
# Set the traffic statistics unit for data flows and that for packets to kilobytes and kilo-packets respectively
in HWTACACS scheme
hwt1
.
<Sysname> system-view
[Sysname] hwtacacs scheme hwt1
[Sysname-hwtacacs-hwt1] data-flow-format data kilo-byte packet kilo-packet
display hwtacacs
Syntax
display hwtacacs
[
hwtacacs-scheme-name
[
statistics
] ]
View
Any view
Default level
2: System level
Parameters
hwtacacs-scheme-name
: HWTACACS scheme name.
statistics
: Displays the statistics for the HWTACACS servers specified in the HWTACACS scheme.
Without this keyword, the command displays the configuration information of the HWTACACS scheme.
Description
Use the
display hwtacacs
command to display the configuration information of HWTACACS schemes or
the statistics for the HWTACACS servers specified in HWTACACS schemes.
If no HWTACACS scheme is specified, the command displays the configuration information of all
HWTACACS schemes.
Related commands:
hwtacacs scheme
.
Examples
# Display the configuration information of HWTACACS scheme
gy
.
<Sysname> display hwtacacs gy
--------------------------------------------------------------------
HWTACACS-server template name : gy
Primary-authentication-server : 172.31.1.11:49
Primary-authorization-server : 172.31.1.11:49
Primary-accounting-server : 172.31.1.11:49
Secondary-authentication-server : 0.0.0.0:0
Secondary-authorization-server : 0.0.0.0:0
Secondary-accounting-server : 0.0.0.0:0
Current-authentication-server : 172.31.1.11:49