41
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the device to
preferentially process
RADIUS authentication
requests.
radius authentication-request
first
By default, the device processes
RADIUS requests in the sequence
that the requests are initiated.
Enabling SNMP notifications for RADIUS
When SNMP notifications are enabled for RADIUS, the SNMP agent supports the following
notifications generated by RADIUS:
•
RADIUS server unreachable notification
—The RADIUS server cannot be reached. RADIUS
generates this notification if it does not receive a response to an accounting or authentication
request within the specified number of RADIUS request transmission attempts.
•
RADIUS server reachable notification
—The RADIUS server can be reached. RADIUS
generates this notification for a previously blocked RADIUS server after the quiet timer expires.
•
Excessive authentication failures notification
—The number of authentication failures
compared to the total number of authentication attempts exceeds the specified threshold.
For RADIUS SNMP notifications to be sent correctly, you must also configure SNMP on the device.
For more information about SNMP configuration, see
Network Management and Monitoring
Configuration Guide
.
To enable SNMP notifications for RADIUS:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable SNMP notifications
for RADIUS.
snmp-agent trap enable radius
[
accounting-server-down
|
accounting-server-up
|
authentication-error-threshold
|
authentication-server-down
|
authentication-server-up
] *
By default, all SNMP notifications
are disabled for RADIUS.
Display and maintenance commands for RADIUS
Execute
display
commands in any view and
reset
commands in user view.
Task Command
Display the RADIUS scheme
configuration.
display radius scheme
[
radius-scheme-name
]
Display RADIUS packet statistics.
display radius statistics
Display information about buffered
RADIUS stop-accounting requests to
which no responses have been
received.
display stop-accounting-buffer
{
radius-scheme
radius-scheme-name
|
session-id
session-id
|
time-range
start-time end-time
|
user-name
user-name
}
Clear RADIUS statistics.
reset radius statistics
Clear the buffered RADIUS
stop-accounting requests to which no
responses have been received.
reset stop-accounting-buffer
{
radius-scheme
radius-scheme-name
|
session-id
session-id
|
time-range
start-time
end-time
|
user-name
user-name
}