calling-number-avp cevlan-offset

Function

The calling-number-avp cevlan-offset command configures an LAC to add an offset to the CE-VLAN ID (inner VLAN ID) of ICRQ packets to be sent.

The undo calling-number-avp cevlan-offset command restores the default configuration.

By default, no offset is added to the CE-VLAN ID of ICRQ packets.

This command is supported only on the NetEngine 8000 F1A.

Format

calling-number-avp cevlan-offset offset-value

undo calling-number-avp cevlan-offset

Parameters

Parameter Description Value
offset-value

Specifies an offset for the CE-VLAN ID.

The value is an integer ranging from 1 to 4094.

Views

BAS interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

If packets sent from different DSLAMs have the same CE-VLAN ID, and the CE-VLAN ID must be identified in the ICRQ packets to be sent by the LAC, run the calling-number-avp cevlan-offset command to configure an offset for the CE-VLAN ID.

Prerequisites

The calling-number-avp cevlan-offset command takes effect only after the CE-VLAN ID to be encapsulated in ICRQ packets has been specified in the calling-number-avp format include cevlan command.

Configuration Impact

After this command is run, the LAC adds an offset to the CE-VLAN ID and then encapsulates the CE-VLAN ID to the ICRQ packets. For example, if the CE-VLAN ID of user access packets is 30, and the calling-number-avp cevlan-offset 20 command is run, the CE-VLAN ID of 50 is encapsulated in the ICRQ packets.

If a VLAN ID is greater than 4094 after an offset is added, the offset is not added for the CE-VLAN ID in ICRQ packets.

Example

# Configure an LAC to add an offset of 20 to the CE-VLAN ID of ICRQ packets.
<HUAWEI> system-view
[~HUAWEI] l2tp-group test
[*HUAWEI-I2tp-group test] calling-number-avp format include cevlan
[*HUAWEI-I2tp-group test] commit
[~HUAWEI-I2tp-group test] quit
[~HUAWEI] interface GigabitEthernet 0/1/0.5
[*HUAWEI-GigabitEthernet0/1/0.5] commit
[*HUAWEI-GigabitEthernet0/1/0.5] bas
[*HUAWEI-GigabitEthernet0/1/0.5-bas] calling-number-avp cevlan-offset 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >