R3303-HP 6600/HSR6600 Routers Security Command Reference

Table Of Contents
97
HWTACACS configuration commands
data-flow-format (HWTACACS scheme view)
Use data-flow-format to set the traffic statistics unit for data flows or packets.
Use undo data-flow-format to restore the default.
Syntax
data-flow-format { data { byte | giga-byte | kilo-byte | mega-byte } | packet { giga-packet |
kilo-packet | mega-packet | one-packet } } *
undo data-flow-format { data | packet }
Default
The unit for data flows is byte and that for data packets is one-packet.
Views
HWTACACS scheme view
Default command level
2: System level
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 unit for data flows and that for packets must be consistent with those on the HWTACACS server.
Otherwise, accounting cannot be performed correctly.
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
Related commands
display hwtacacs
display hwtacacs
Use display hwtacacs to display the configuration of HWTACACS schemes or the statistics for the
HWTACACS servers specified in HWTACACS schemes.
Syntax
display hwtacacs [ hwtacacs-scheme-name [ statistics ] ] [ slot slot-number ] [ | { begin | exclude |
include } regular-expression ]