radius-server algorithm master-backup

Function

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

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

By default, the RADIUS server adopts the active/standby algorithm and the authentication server is preferentially used as the accounting server.

Format

radius-server algorithm master-backup { strict | sequence } *

undo radius-server algorithm master-backup { strict | sequence } *

Parameters

Parameter Description Value
strict

Indicates that the accounting server is selected based on the configured algorithm. The master accounting server is preferentially selected, irrelevant to the authentication server.

-

sequence

If sequence is configured, the system selects a server in the sequence in which the servers are configured.

-

master-backup

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

-

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.

A RADIUS server group supports a maximum of sixteen authentication servers and sixteen accounting servers.

Example

# Set the active/standby algorithm as the algorithm of the RADIUS server.
<HUAWEI> system-view
[~HUAWEI] radius-server group huawei
[*HUAWEI-radius-huawei] radius-server algorithm master-backup strict
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >