The radius-server detect-server timeout command configures the timeout period for RADIUS detection packets.
The undo radius-server detect-server timeout command restores the default settings.
By default, the timeout period for RADIUS detection packets is 3 seconds.
Parameter |
Description |
Value |
|---|---|---|
timeout |
Specifies the timeout period for RADIUS detection packets. |
The value is an integer that ranges from 1 to 10, in seconds. |
Usage Scenario
After the automatic detection function is enabled using the radius-server testuser command and the device sends detection packets to the RADIUS server, the device determines whether to switch the RADIUS server status based on whether it receives response packets from the RADIUS server within the timeout period. The following table lists the switchover conditions.
Server Status |
Whether Automatic Detection Is Supported |
Time When an Automatic Detection Packet Is Sent |
Condition for Switching the Server Status |
|---|---|---|---|
Down |
Automatic detection is supported by default. |
An automatic detection packet is sent after the automatic detection period expires. |
If the device receives a response packet from the RADIUS server within the timeout period for detection packets, the device marks the RADIUS server status as Up; otherwise, the RADIUS server status remains Down. |
Up |
Automatic detection can be enabled using the radius-server detect-server up-server interval command. |
An automatic detection packet is sent after the automatic detection period expires. |
If the conditions for marking the RADIUS server status as Down are met, the device marks the RADIUS server status as Down; otherwise, the RADIUS server status remains Up. |
Force-up |
Automatic detection is supported by default. |
An automatic detection packet is sent immediately. |
If the device receives a packet from the RADIUS server within the timeout period, the device marks the RADIUS server status as Up; otherwise, the device marks the RADIUS server status as Down. |
On a large-scale network, you are not advised to enable automatic detection for RADIUS servers in Up status. This is because if automatic detection is enabled on multiple NAS devices, the RADIUS server periodically receives a large number of detection packets when processing RADIUS Access-Request packets source from users, which may deteriorate processing performance of the RADIUS server.
Precautions