40
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
] [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
2: System level
Parameters
radius-scheme-name
: RADIUS scheme name.
slot
slot-number
: Specifies the member number of the device in the IRF virtual device, which you can
display with the
display irf
command. The value range for the
slot-number
argument depends on the
number of members and numbering conditions in the current IRF virtual device. If no IRF virtual device
exists, the
slot-number
argument is the current device number.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration 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, which is a case-sensitive string of 1 to 256 characters.
Description
Use the
display radius
scheme
command to display the configuration information of RADIUS schemes.
If no RADIUS scheme is specified, the command will display the configuration information of all RADIUS
schemes.