beautypg.com

H3C Technologies H3C S5120 Series Switches User Manual

Page 429

background image

1-23

When both the primary and secondary servers are available, the device sends request packets to the

primary server.

Once the primary server fails, the primary server turns into the state of block, and the device turns to the

secondary server. In this case:

z

If the secondary server is available, the device triggers the primary server quiet timer. After the

quiet timer times out, the status of the primary server is active again and the status of the

secondary server remains the same.

z

If the secondary server fails, the device restores the status of the primary server to active

immediately.

If the primary server has resumed, the device turns to use the primary server and stops communicating

with the secondary server. After accounting starts, the communication between the client and the

secondary server remains unchanged.

Follow these steps to set the status of RADIUS servers:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter RADIUS scheme view

radius scheme
radius-scheme-name

Set the status of the primary
RADIUS
authentication/authorization
server

state primary authentication
{ active | block }

Set the status of the primary
RADIUS accounting server

state primary accounting
{ active | block }

Set the status of the secondary
RADIUS
authentication/authorization
server

state secondary
authentication { active |
block }

Set the status of the secondary
RADIUS accounting server

state secondary accounting
{ active | block }

Optional

active for every server
configured with IP address in
the RADIUS scheme

z

If both the primary server and the secondary server are in the blocked state, it is necessary to

manually turn the secondary server to the active state so that the secondary server can perform

authentication. If the secondary server is still in the blocked state, the primary/secondary

switchover cannot take place.

z

If one server is in the active state while the other is blocked, the primary/secondary switchover will

not take place even if the active server is not reachable.

z

The server status set by the state command cannot be saved in the configuration file and will be

restored to active every time the server restarts.

Configuring Attributes Related to Data to Be Sent to the RADIUS Server

Follow these steps to configure the attributes related to data to be sent to the RADIUS server: