2-21When the switch fails to communicate with the primary server due to some server trouble, the switchwill turn to the secondary server and exchange messages with the secondary server.After the primary server remains in the block state for a specific time (set by the timer quiet command),the switch will try to communicate with the primary server again when it has a RADIUS request. If itfinds that the primary server has recovered, the switch immediately restores the communication withthe primary server instead of communicating with the secondary server, and at the same time restoresthe status of the primary server to active while keeping the status of the secondary server unchanged.To control the interval at which users are charged in real time, you can set the real-time accountinginterval. After the setting, the switch periodically sends online users' accounting information to RADIUSserver at the set interval.Follow these steps to set timers for RADIUS servers:To do… Use the command… RemarksEnter system view system-view —Create a RADIUS scheme andenter its viewradius schemeradius-scheme-nameRequiredBy default, a RADIUS scheme named"system" has already been created inthe system.Set the response timeout time ofRADIUS serverstimer response-timeoutsecondsOptionalBy default, the response timeout timeof RADIUS servers is three seconds.Set the time that the switch waitsbefore it try to re-communicate withprimary server and restore thestatus of the primary server toactivetimer quiet minutesOptionalBy default, the switch waits fiveminutes before it restores the statusof the primary server to active.Set the real-time accountingintervaltimer realtime-accountingminutesOptionalBy default, the real-time accountinginterval is 12 minutes.Enabling Sending Trap Message when a RADIUS Server Goes DownFollow these steps to specify to send trap message when a RADIUS server goes down:To do… Use the command… RemarksEnter system view system-view —Enable the sending of trapmessage when a RADIUSserver is downradius trap{ authentication-server-down |accounting-server-down }OptionalBy default, the switch does notsend trap message when aRADIUS server is down.