radius-server algorithm

Function

The radius-server algorithm command sets the algorithm of a RADIUS server.

The undo radius-server algorithm command restores the default setting.

By default, the RADIUS server adopts the active/standby algorithm.

Format

radius-server algorithm { master-backup | loading-share }

undo radius-server algorithm

Parameters

Parameter Description Value
master-backup

Indicates the active/standby algorithm. Only the RADIUS authentication server or accounting server configured first is the active server.

-

loading-share

Indicates the load-sharing algorithm. The weight of the RADIUS authentication server or accounting server takes effect only after loading-share is used.

-

Views

RADIUS server group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
radius write

Usage Guidelines

Usage Scenario

The radius-server algorithm command takes effect only for all authentication servers and accounting serves in a specified RADIUS server.

When the active/standby algorithm is used, the second configured RADIUS server becomes the master server if the master RADIUS server is deleted.

The number of authentication servers and accounting servers supported by a RADIUS server group is less than 32.

Example

# Set the algorithm of the RADIUS server to load sharing.
<HUAWEI> system-view
[~HUAWEI] radius-server group huawei
[*HUAWEI-radius-huawei] radius-server algorithm loading-share
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >