mpls l2vpn (interface view)

Function

The mpls l2vpn arp-dual-sending command enables ARP dual-fed and sets an aging time for dynamic ARP entries. After ARP dual-fed is enabled on an AC interface, this interface forwards upstream ARP packets to both the primary and secondary PWs.

The undo mpls l2vpn arp-dual-sending command disables ARP dual-fed.

By default, the ARP single-fed function is disabled.

Format

mpls l2vpn { arp-dual-sending | arp-sending } [ expire-time expire-time-value ]

undo mpls l2vpn { arp-dual-sending | arp-sending }

Parameters

Parameter Description Value
arp-sending

Enable ARP-fed function.

-

expire-time expire-time-value

Specifies an aging time for dynamic ARP entries.

ARP entries must be updated regularly to ensure communication reliability. A dynamic ARP entry has a life cycle. If a dynamic ARP entry is not updated before its life cycle expires, this dynamic ARP entry will be deleted from the ARP table. The life cycle is called aging time. If the entry is updated before its life cycle expires, the aging time of the entry is recalculated. The expire-time expire-time-value parameter allows you to specify an aging time for dynamic ARP entries.

The value is an integer ranging from 60 to 4294967295, in seconds. The default value is 4294967295.

If the value is 4294967295, dynamic ARP entries do not age.

Views

100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, XGE sub-interface view, XGE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In L2VPN PW redundancy (1:1 protection), user-side ARP packets are transparently transmitted only on the primary PW. As a result, user-side MAC addresses cannot be learned on the secondary PW. When a node fault occurs on the primary PW, the secondary PW needs to trigger the learning of user-side MAC address using traffic. This causes traffic loss.

This command enables ARP packets to be transparently transmitted on primary and secondary PWs, minimizing traffic loss in the case of a node fault on the primary PW.

Precautions

After this command is used, normal service packets are transparently transmitted only on the primary PW.

This command can be configured on an interface that is not configured with PW redundancy, but the command configuration will not take effect.

Example

# Configure an aging time of 2400s for dynamic ARP entries.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] mpls l2vpn arp-dual-sending expire-time 2400
# Enable an interface to send ARP packets on primary and secondary PWs.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] mpls l2vpn arp-dual-sending
# Enable ARP-fed function and set aging time for dynamic ARP entries to 2400s on an interface.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[~HUAWEI] interface GigabitEthernet 0/1/0
[~HUAWEI-GigabitEthernet0/1/0] mpls l2vpn arp-sending expire-time 2400
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >