R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101
148
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.
Description
Use data-flow-format to set the traffic statistics unit for data flows or packets.
Use undo data-flow-format 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 ] ] [ | { begin | exclude | include }
regular-expression ]
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 of the HWTACACS scheme.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display hwtacacs to display the configuration 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 of all HWTACACS
schemes.