radius-server nas-ip-address lns

Function

The radius-server nas-ip-address lns command enables an LNS or LTS to encapsulate the remote IP address into the NAS-Ip-Address attribute of a RADIUS packet.

The undo radius-server nas-ip-address lns command restores the default configuration.

By default, an LNS or LTS does not encapsulate the remote IP address into the NAS-Ip-Address attribute of a RADIUS packet.

This command is supported only on the NetEngine 8000 F1A.

Format

radius-server nas-ip-address lns remote-ip

undo radius-server nas-ip-address lns remote-ip

Parameters

None

Views

RADIUS server group view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
radius write

Usage Guidelines

Usage Scenario

In the scenario where an LNS or LTS associates with multiple LACs, the LNS or LTS needs to identify the LAC to which a user is connected when sending an authentication packet to the RADIUS server. To enable an LNS or LTS to encapsulate the remote IP address into the NAS-Ip-Address attribute of an authentication packet to be sent to the RADIUS server, run the radius-server nas-ip-address lns command. If both the radius-server nas-ip-address and radius-server nas-ip-address lns remote-ip commands are run in the RADIUS server group view, the radius-server nas-ip-address lns remote-ip command takes effect.

Example

# Enable an LNS to encapsulate the remote IP address into the NAS-Ip-Address attribute of a packet to be sent to the RADIUS server.
<HUAWEI> system-view
[~HUAWEI] radius-server group huawei
[*HUAWEI-radius-huawei] radius-server nas-ip-address lns remote-ip
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >