option82-relay-mode dslam

Function

The access-line-id dslam command configures the device to fill in the Agent-CircuitID attribute and Agent-RemoteID attribute with the access-line-id information sent from the DSLAM.

The undo access-line-id dslam command restores the default setting.

The option82-relay-mode dslam command configures the device to fill in the Agent-CircuitID attribute and Agent-RemoteID attribute with the access-line-id information sent from the DSLAM.

The undo option82-relay-mode dslam command restores the default setting.

By default, the device does not fill in the Agent-CircuitID attribute and Agent-RemoteID attribute with the access-line-id information sent from the DSLAM.

This command is supported only on the NetEngine 8000 F1A.

Format

{ option82-relay-mode | access-line-id } dslam { auto-identify | config-identify }

undo { option82-relay-mode | access-line-id } dslam

Parameters

Parameter Description Value
auto-identify

Configures a device to automatically identify access-line-id information.

-

config-identify

Configures a device to identify access-line-id information based on a specified rule.

-

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

The access-line-id information may be carried by DHCPv4 Option 82, DHCPv6 Options 18, 37, and 17, or a PPPoE+ option.

On a network where a DSLAM is deployed, the DSLAM sends information about user locations to the RADIUS server. The information is contained in the access-line-id information. After having received the information, the device adds the information to the attributes of a RADIUS packet and sends the packet to the RADIUS server.

After having received the information about user locations, the device adds access-line-id information to Agent-CircuitID and Agent-RemoteID attributes of a RADIUS packet based on sub-attribute numbers, and then sends the packet to the RADIUS server.

  • If auto-identify is configured, the device automatically identifies access-line-id information, adds the converted value to the Agent-CircuitID or Agent-CircuitID attribute of a RADIUS packet, and sends the packet to the RADIUS server.
  • If config-identify is configured, the device converts the value of each attribute of the access-line-id information based on a specific rule, adds the converted value to the Agent-CircuitID or Agent-CircuitID attribute of a RADIUS packet, and sends the packet to the RADIUS server. By default, the value of each attribute of the access-line-id information is not converted.

    NOTE:

    The option82-relay-mode dslam config-identify command can be effective only after the client-option82 or client-access-line-id command has been run on the BAS interface and theaccess-line-id information is not empty.

    The rule of converting an attribute value can be configured by using the option82-relay-mode subopt or access-line-id translate command.

Prerequisites

Before running this command, set the access type of the userto layer2 subscriber, layer2-leased-line, or layer3 subscriber by the access-type command.

Precautions

This command is supported only on the admin VS.

The functions of the option82-relay-mode dslam command and the access-line-id dslam command are the same. Both of them are used to configure a mode of identifying the access-line-id information. If they have been both run more than once in the same view, the last configuration overrides the previous one.

Example

# Configure the device to automatically identify access-line-id information.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-line-id dslam auto-identify
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >