Got it

If MA5200G is configured with radius-server group, how to use weight and what is

Latest reply: Apr 8, 2016 09:49:05 1606 1 0 0 0

If MA5200G is configured with radius-server group, it has two algorithms for working mode, including loading-share and master-backup, of which should be used? In loading-share, how to determine the load of each RADIUS server?

  • x
  • convention:

Created Apr 8, 2016 09:49:05

Handling Process
Q: MA5200G RADIUS includes both working modes: 
                                2>master-backup (default)
Command radius-server algorithm could help revise the working mode of RADIUS server.
1. The principle of loading-share:  once MA5200G is configured with multiple radius-server ip, it could use all radius-server configured, and use the parameter of weight to allocate the traffic sent to radius-server, realizing loading-share;
For example: radius-server group radius
     radius-server authentication 2xx.142.211.7 1645 weight x
     radius-server authentication 2xx.142.211.8 1645 weight y
     radius-server authentication 2xx.142.211.9 1645 weight z
     radius-server accounting 2xx.142.211.7 1646 weight x
     radius-server accounting 2xx.142.211.8 1646 weight y
     radius-server accounting 2xx.142.211.8 1645 weight z

The per cent of weight of each server in total ratio is the traffic the server shares. For example, the server 2xx.142.211.7 accounts for x/(x+y+z)*100%, and 2xx.142.211.8 for y/(x+y+z)*100%, and so on; the formula is always available even more servers are configured. Weight does not mean the percent of loading-share. In fact, we suggest configuring the total of weight of all RADIUS servers to 100, so the weight value of each server is the per cent of load-sharing.

If one of the servers is down, MA5200G will allocate the traffic at the down server to other normal radius-servers.

2. master-backup is the default working mode of MA5200G radius-server, and its principle is when MA5200G is configured with multiple radius-servers, it could realize master-backup of radius-server. At this point, the weight is optional, being defaulted to 0.
For example:
 radius-server group radius
 radius-server authentication 2xx.142.211.7 1645 weight 0
 radius-server authentication 2xx.142.211.8 1645 weight 0
 radius-server accounting 2xx.142.211.7 1646 weight 0
 radius-server accounting 2xx.142.211.8 1646 weight 0

 MA5200G will take the server at the top (check by display radius-server configuration command)as the master RADIUS server, which serves for authentication and accounting generally; only if the master RADIUS fails, both authentication and accounting will turn to backup server. 

View more
  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits


Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.