l2tp calling-number-avp enable

Function

The l2tp calling-number-avp enable command adds attribute AVP22 to L2TP packets.

The undo l2tp calling-number-avp enable command removes attribute AVP22 from L2TP packets.

By default, L2TP packets carry the attribute AVP22.

This command is supported only on the NetEngine 8000 F1A.

Format

l2tp calling-number-avp enable

undo l2tp calling-number-avp enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2tp write

Usage Guidelines

Attribute AVP22 indicates the number of the caller, which is an optional parameter of the ICRQ packet sent by the LAC (the device) to set up the L2TP session.

The l2tp calling-number-avp enable command controls whether the LAC adds attribute AVP22 to the ICRQ packet. Through attribute AVP22, the LNS can know the caller number.

Example

# Add attribute AVP22 to L2TP packets.
<HUAWEI> system-view
[~HUAWEI] l2tp calling-number-avp enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >