93
[Sysname-radius-radius1] attribute 25 car
data-flow-format (RADIUS scheme view)
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
}
View
RADIUS scheme view
Default 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.
Description
Use the
data-flow-format
command to set the traffic statistics unit for data flows or packets.
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 RADIUS server.
Otherwise, accounting cannot be performed correctly.
Related commands:
display radius scheme
.
Examples
# Set the traffic statistics unit for data flows and that for packets to kilobytes and kilo-packets respectively
in RADIUS scheme
radius1
.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] data-flow-format data kilo-byte packet kilo-packet
display radius scheme
Syntax
display radius scheme
[
radius-scheme-name
]
View
Any view
Default level
2: System level
Parameters
radius-scheme-name
: RADIUS scheme name.