30
The failure ratio is generally small. If a trap message is triggered because the failure ratio is higher than
the threshold, troubleshoot the configuration and the communication between the NAS and the RADIUS
server.
To enable the trap function for RADIUS:
To do…
Use the command…
Remarks
1.
Enter system view.
system-view
—
2.
Enable the trap
function for RADIUS.
radius trap
{
accounting-server-down
|
authentication-error-threshold
|
authentication-
server-down
}
Required
Disabled by default
Enabling the RADIUS listening port of the RADIUS client
The client can receive and send RADIUS packets only after you enable the RADIUS listening port of a
RADIUS client. If RADIUS is not required, disable the RADIUS listening port to avoid attacks that exploit
RADIUS packets.
To enable the RADIUS listening port of a RADIUS client:
To do…
Use the command…
Remarks
1.
Enter system view.
system-view
—
2.
Enable the RADIUS listening
port of a RADIUS client.
radius client enable
Optional
Enabled by default
Displaying and maintaining RADIUS
To do…
Use the command…
Remarks
Display the configuration information
of RADIUS schemes
display radius scheme
[
radius-scheme-
name
] [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-
expression
]
Available in any view
Display the statistics for RADIUS
packets
display radius statistics
[
slot
slot-
number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about buffered
stop-accounting requests for which no
responses have been received
display stop-accounting-buffer
{
radius-scheme
radius-server-name
|
session-id
session-id
|
time-range
start-time
stop-time
|
user-name
user-
name
} [
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-
expression
]
Available in any view
Clear RADIUS statistics
reset radius statistics
[
slot
slot-number
]
Available in user view
Clear the buffered stop-accounting
requests for which no responses have
been received
reset stop-accounting-buffer
{
radius-
scheme
radius-server-name
|
session-
id
session-id
|
time-range
start-time
stop-time
|
user-name
user-name
} [
slot
slot-number
]
Available in user view