lns calling-station-id format agent-remote-id

Function

The lns calling-station-id format agent-remote-id command configures an LNS to parse the Agent-Remote-Id attribute carried in an ICRQ packet sent from an LAC and encapsulate the attribute into the Calling-Station-Id attribute to be sent to the RADIUS server.

The undo lns calling-station-id format agent-remote-id command restores the default configuration.

By default, the Line ID is encapsulated in the AVP22 attribute sent by the LAC.

This command is supported only on the NetEngine 8000 F1A.

Format

lns calling-station-id format agent-remote-id

undo lns calling-station-id format agent-remote-id

Parameters

None

Views

L2TP group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp write

Usage Guidelines

To allow a user to be authenticated based on the line ID information carried in the Agent-Remote-Id attribute of an ICRQ packet sent from an LAC, run the lns calling-station-id format agent-remote-id command to configure an LNS to parse the Agent-Remote-Id attribute and encapsulate the attribute into the Calling-Station-Id attribute to be sent to the RADIUS server.

Example

# Configure an LNS to parse the Agent-Remote-Id attribute carried in an ICRQ packet from an LAC.
<HUAWEI> system-view
[~HUAWEI] l2tp-group 1
[*HUAWEI-l2tp-1] lns calling-station-id format agent-remote-id
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >