72
Default
The primary RADIUS server specified for a RADIUS scheme is in active state.
Views
RADIUS scheme view
Predefined user roles
network-admin
Parameters
accounting: Sets the status of the primary RADIUS accounting server.
authentication: Sets the status of the primary RADIUS authentication server.
active: Specifies the active state, the normal operation state.
block: Specifies the blocked state, the out-of-service state.
Usage guidelines
During an authentication or accounting process, the device first tries to communicate with the primary
server if the primary server is in active state. If the primary server is unavailable, the device performs the
following tasks:
• Changes the status of the primary server to blocked.
• Starts a quiet timer for the server.
• Tries to communicate with a secondary server in active state.
When the quiet timer of the primary server times out, the status of the server automatically changes to
active. If you set the status of the server to blocked before the quiet timer times out, the status of the server
cannot change back to active unless you manually set the status to active.
When the primary server and all secondary servers are in blocked state, authentication or accounting
fails.
This command can affect the RADIUS server status detection function when a valid test profile is specified
for a primary RADIUS authentication server.
• If you set the status of the server to blocked, the device stops detecting the status of the server.
• If you set the status of the server to active, the device starts to detect the status of the server.
Examples
# Set the status of the primary authentication server in RADIUS scheme radius1 to blocked.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] state primary authentication block
Related commands
• display radius scheme
• radius-server test-profile
• state secondary
state secondary
Use state secondary to set the status of a secondary RADIUS server.