nas logic-sysname

Function

The nas logic-sysname command configures the logical host name.

The undo nas logic-sysname command deletes the logical host name.

By default, no logical host name is configured.

Format

nas logic-sysname host-name

undo nas logic-sysname

Parameters

Parameter Description Value
host-name

Specifies the logical host name.

The value is a string of 1 to 30 case-sensitive characters.

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

The nas logic-port and nas logic-sysname commands are applied to the remote backup of user information. Through these commands, the NAS-Port, NAS-Port-ID, and Option82 information in the packets that the primary and secondary devices send to the RADIUS and DHCP servers are identical.

Configuration Impact

The NAS-Port and NAS-Port-ID attributes for the users' RADIUS authentication contain the logical host name and logical port number. If the logical host name cannot be obtained, these attributes contain only the logical port number.

Precautions

This command is used only to check packet validity when the device sends the NAS-Identifier attribute of the RADIUS server or when the RADIUS server delivers COA or DM packets. This command cannot be used to generate the user Accounting-session-ID, Accounting-Multi-session-ID, local Option 82 information, default PPP and DHCP user names, and NAS-Port-ID and Calling-Station-ID attributes sent to the RADIUS server.

Example

# Configure the logical host name in the AAA domain view.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain 123
[~HUAWEI-aaa-domain-123] nas logic-sysname word
Info: This command configures only the NAS-Identifer attribute for RADIUS users in the current domain.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >