27
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter RADIUS scheme view
radius scheme
radius-scheme-
name
—
Specify a source IP address
for outgoing RADIUS packets
nas-ip
{
ip-address
|
ipv6
ipv6-address
}
Required
By default, the IP address of the outbound
interface is used as the source IP address.
Setting timers for controlling communication with RADIUS servers
The device uses the following types of timers to control the communication with a RADIUS server:
Server response timeout timer (
response-timeout
)—Defines the RADIUS request retransmission
interval. After sending a RADIUS request (authentication/authorization or accounting request), the
device starts this timer. If the device receives no response from the RADIUS server before this timer
expires, it resends the request.
Server quiet timer (
quiet
)—Defines the duration to keep an unreachable server in the blocked state.
If a server is not reachable, the device changes the server’s status to blocked, starts this timer for the
server, and tries to communicate with another server in the active state. After this timer expires, the
device changes the status of the server back to active.
Real-time accounting timer
(
realtime-accounting
)—Defines the interval at which the device sends
real-time accounting packets to the RADIUS accounting server for online users. To implement real-
time accounting, the device must periodically send real-time accounting packets to the accounting
server for online users.
Follow these steps to set timers for controlling communication with RADIUS servers:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter RADIUS scheme view
radius scheme
radius-scheme-
name
—
Set the RADIUS server response
timeout timer
timer response-timeout
seconds
Optional
3 seconds by default
Set the quiet timer for the servers
timer quiet
minutes
Optional
5 minutes by default
Set the real-time accounting timer
timer realtime-accounting
minutes
Optional
12 minutes by default