radius-server domain-annex

Function

The radius-server domain-annex command adds string information to the left/right side of a domain name when the device sends authentication and accounting request packets to the RADIUS server.

The command undo radius-server domain-annex restores to the default setting.

By default, no information is added to the left/right side of a domain name when the device sends authentication and accounting request packets to the RADIUS server.

Format

radius-server domain-annex { left | right } annex

undo radius-server domain-annex

Parameters

Parameter Description Value
left

Annex string in the domain name left.

-

right

Annex string in the domain name right.

-

annex

Specifies the string added to the DHCP option 125 attribute.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The characters can be a combination of letters (including A to Z and a to z), digits (0 to 9), dot (.), hyphen (-), and underscore (_).

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

The radius-server domain-annex command can be used to add string information to the left/right side of a domain name when the device sends authentication and accounting request packets to the RADIUS server.

Configuration Impact

After the radius-server domain-annex is run, the domain name carried in the user name will be changed by adding a configured string to the left/right side of the domain name. So the configuration of this command cannot be deleted or modified when there are online users.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Add a string named zj. to the left side of the domain named huawei.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain huawei
[*HUAWEI-aaa-domain-huawei] radius-server domain-annex left zj.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >