Configuring The Radius Accounting-On Feature; Interpreting The Radius Class Attribute As Car Parameters - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

Configuring the RADIUS accounting-on feature

About RADIUS accounting-on
When the accounting-on feature is enabled, the device automatically sends an accounting-on packet
to the RADIUS server after the entire device reboots. Upon receiving the accounting-on packet, the
RADIUS server logs out all online users so they can log in again through the device. Without this
feature, users cannot log in again after the reboot, because the RADIUS server considers them to
come online.
You can configure the interval for which the device waits to resend the accounting-on packet and the
maximum number of retries.
The extended accounting-on feature enhances the accounting-on feature in a distributed
architecture. For the extended accounting-on feature to take effect, the RADIUS server must run on
IMC and the accounting-on feature must be enabled.
The extended accounting-on feature is applicable to IPoE, LAN, and PPP (L2TP LAC-side) users.
The user data is saved to the cards through which the users access the device. When the extended
accounting-on feature is enabled, the device automatically sends an accounting-on packet to the
RADIUS server after a card reboot. The packet contains the card identifier. Upon receiving the
accounting-on packet, the RADIUS server logs out all online users that access the device through
the card.
Procedure
To configure the accounting-on feature for a RADIUS scheme:
Step
1.
Enter system view.
2.
Enter RADIUS scheme view.
3.
Enable accounting-on.
4.
(Optional.) Enable extended
accounting-on.

Interpreting the RADIUS class attribute as CAR parameters

A RADIUS server may deliver CAR parameters for user-based traffic monitoring and control by using
the RADIUS class attribute (attribute 25) in RADIUS packets. You can configure the device to
interpret the class attribute to CAR parameters.
To configure the device to interpret the RADIUS class attribute as CAR parameters:
Step
1.
Enter system view.
2.
Enter RADIUS scheme view.
3.
Interpret the RADIUS class
attribute as CAR parameters.
Command
system-view
radius scheme
radius-scheme-name
accounting-on enable [ interval
interval | send send-times ] *
accounting-on extended
Command
system-view
radius scheme
radius-scheme-name
attribute 25 car
34
Remarks
N/A
N/A
By default, the accounting-on
feature is disabled.
By default, extended
accounting-on is disabled.
Remarks
N/A
N/A
By default, the RADIUS class
attribute is not interpreted as
CAR parameters.

Advertisement

Table of Contents
loading

Table of Contents