32
Step Command
Remarks
2.
Enter RADIUS scheme
view.
radius scheme
radius-scheme-name
N/A
3.
Specify a security policy
server.
security-policy-server
ip-address
No security policy server is
specified by default.
Configuring interpretation of RADIUS class attribute as CAR parameters
According to RFC 2865, a RADIUS server assigns the RADIUS class attribute (attribute 25) to a RADIUS
client. However, the RFC only requires the RADIUS client to send the attribute to the accounting server on
an "as is" basis. It does not require the RADIUS client to interpret the attribute. Some RADIUS servers use
the class attribute to deliver the assigned committed access rate (CAR) parameters. In this case, the
switch must interpret the attribute as the CAR parameters to implement user-based traffic monitoring and
controlling.
To configure the switch to interpret the RADIUS class attribute as CAR parameters:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RADIUS scheme view.
radius scheme
radius-scheme-name
N/A
3.
Interpret the class attribute as
CAR parameters.
attribute 25 car
By default, RADIUS attribute 25 is not
interpreted as CAR parameters.
NOTE:
Whether interpretation of RADIUS class attribute as CAR parameters is supported depends on two factors:
•
Whether the switch supports CAR parameters assignment.
•
Whether the RADIUS server supports assigning CAR parameters through the class attribute.
Enabling the trap function for RADIUS
With the trap function, a NAS sends a trap message when either of the following events occurs:
•
The status of a RADIUS server changes. If a NAS receives no response to an accounting or
authentication request before the specified maximum number of RADIUS request transmission
attempts is exceeded, it considers the server unreachable, sets the status of the server to
block
and
sends a trap message. If the NAS receives a response from a RADIUS server that it considers
unreachable, the NAS considers that the RADIUS server is reachable again, sets the status of the
server to
active
, and sends a trap message.
•
The ratio of the number of failed transmission attempts to the total number of authentication request
transmission attempts reaches the threshold. This threshold ranges from 1% to 100% and defaults to
30%. This threshold can only be configured through the MIB.
The failure ratio is generally small. If a trap message is triggered because the failure ratio is higher than
the threshold, troubleshoot the configuration on and the communication between the NAS and the
RADIUS server.
To enable the trap function for RADIUS: