R3204P16-HP Load Balancing Module Security Command Reference-6PW101

113
When the primary server and secondary server are both in active state, the LB module communicates
with the primary server. If the primary server fails, the module changes the status of the primary server to
block and turns to the secondary server. When the quiet timer times out, the module resumes the status
of the primary server to active while keeping the status of the secondary server unchanged. In the case
of authentication/authorization, the module resumes the communication with the primary server; in the
case of accounting, however, the module keeps communicating with the secondary server no matter
whether the primary server recovers or not.
When the primary server and secondary server are both in block state, the module communicates with
the primary server. If the primary server is available, its status changes to active. If both the primary
server and secondary server are in block state and you want the module to use the secondary server for
AAA services, you need to change the status of the secondary server to active; otherwise, no
primary/secondary switchover will take place.
If a server is in active state while the other is in block state, the module only tries to communicate with the
server in active state, even if the server is unavailable.
You can use this command to change the settings only when no user is using the RADIUS scheme.
Related commands: radius scheme, primary authentication, secondary authentication, primary
accounting, and secondary accounting.
Examples
# Set the status of the secondary server in RADIUS scheme radius1 to active.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] state secondary authentication active
stop-accounting-buffer enable (RADIUS scheme view)
Syntax
stop-accounting-buffer enable
undo stop-accounting-buffer enable
View
RADIUS scheme view
Default level
2: System level
Parameters
None
Description
Use the stop-accounting-buffer enable command to enable the LB module to buffer stop-accounting
requests getting no responses.
Use the undo stop-accounting-buffer enable command to disable the module from buffering
stop-accounting requests getting no responses.
By default, the module is enabled to buffer stop-accounting requests getting no responses.
Since stop-accounting requests affect the charge to users, a NAS must make its best effort to send every
stop-accounting request to the RADIUS accounting servers. For each stop-accounting request getting no
response in the specified period of time, the NAS buffers and resends the packet until it receives a