option-82 parse-mode

Function

The access-line-id parse-mode command configures the format of access-line-id information.

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

The option-82 parse-mode command configures the format of access-line-id information.

The undo option-82 parse-mode command restores the default setting.

By default, the parsing mode to access-line-id information is not configured,the parsing mode of access-line-id information is cn.

This command is supported only on the NetEngine 8000 F1A.

Format

{ option-82 | access-line-id } parse-mode { binary | tr-101 | cn }

undo { option-82 | access-line-id } parse-mode

Parameters

Parameter Description Value
binary

Indicates the binary mode.

-

tr-101

Indicates the tr-101 mode.

-

cn

Indicates the cn-telecom mode.

-

Views

BAS interface view (FE), 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 parse-mode command can be used to configure an access-line-id information parsing mode on an interface based on the format of the access-line-id information sent from the downstream device.

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

Prerequisites

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

The access type of the user is set to layer2 subscriber, layer2-leased-line, or layer3 subscriber using the access-type command.

Precautions

This command is supported only on the admin VS.

The functions of the access-line-id parse-mode command and the option-82 parse-mode command are the same. Both of them are used to configure an access-line-id information parsing mode. If they have been both run more than once in the same view, the last configuration overrides the previous one.

Example

# Configure the GE 0/1/1 BAS interface to parse access-line-id information in binary mode.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] access-line-id parse-mode binary
# Configure GE 0/1/1 (the BAS interface) to parse access-line-id information in binary mode.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] option-82 parse-mode binary
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >