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.
Note that:
The specified unit of data flows sent to the RADIUS server must be consistent with the traffic
statistics unit of the RADIUS server. Otherwise, accounting cannot be performed correctly.
You can use these commands to change the settings only when no user is using the RADIUS
scheme.
Related commands: display radius scheme.
Examples
# Define RADIUS scheme radius1 to send data flows and packets destined for the RADIUS server in
kilobytes and kilo-packets.
<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.
Description
Use the display radius scheme command to display the configuration information of a specified
RADIUS scheme or all RADIUS schemes.
Note that: If no RADIUS scheme is specified, the command will display the configuration information of
all RADIUS schemes.
Related commands: radius scheme.
Examples
# Display the configurations of all RADIUS schemes.
<Sysname> display radius scheme
------------------------------------------------------------------
SchemeName
: radius1
Index : 0
Primary Auth Server:
IP: 1.1.1.1
Type : extended
Port: 1812
2-4
State: block