< Home

mpls l2vpn redundancy

Function

The mpls l2vpn redundancy command specifies the PW negotiation mode.

The undo mpls l2vpn redundancy command restores the default PW mode.

By default, a device determines the primary and secondary PWs locally by using FRR, without negotiating with other nodes.

Format

mpls l2vpn redundancy { independent | master }

undo mpls l2vpn redundancy { independent | master }

Parameters

Parameter Description Value
independent Indicates PW redundancy in independent mode. -
master Indicates PW redundancy in master/slave mode. -

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After configuring the primary and secondary PWs on a PE, you can specify the PW redundancy mode. The following PW redundancy modes are supported:

  • FRR mode:

    The FRR mode is the default PW redundancy mode and does not need to be configured.

    The FRR mode applies to VLL FRR and PWE3 FRR scenarios. The FRR mode must be used with PW OAM and AC OAM. End-to-end FRR can be performed only after OAM mapping is enabled on the PE.

  • Master/slave mode:

    The master/slave mode is often used in scenarios where VLL accesses VPLS. After the mpls l2vpn redundancy command is configured on a PE, the PE determines the primary/secondary status of PWs based on its local configurations. The master/slave mode can use the bypass PW to isolate PW-side failures from AC-side failures.

  • Independent mode:

    The independent mode is often used with E-Trunk, and VRRP. The independent mode can use the bypass PW to isolate PW-side failures, but cannot isolate AC-side failures.

Prerequisites

The primary and secondary PWs must have been configured on the PE.

Follow-up Procedure

The FRR mode and master/slave mode support revertive policies. You can run the mpls l2vpn reroute command to configure a revertive policy. By default, the revertive switching is performed after a delay.

The independent mode supports only immediate switchback.

Precautions

If the mpls l2vpn redundancy command is run more than once, the latest configuration overrides previous ones. The undo mpls l2vpn redundancy command restores the FRR mode. When using the undo mpls l2vpn redundancy command, ensure that the parameter in this command is the same as that in the corresponding mpls l2vpn redundancy command.

The FRR mode applies to VLL and PWE3. The master/slave mode and independent mode apply to PWE3.

  • FRR mode: After the primary and secondary PW status is configured on a PE to which a CE is single-homed, the FRR PW redundancy mode is used by default. The local PE does not notify the remote PW of the primary/secondary PW status. As a result, the remote PE is unaware of the local primary/secondary status.

  • Master/slave mode: After this mode is configured, the PE determines the primary/secondary status of PWs based on local configurations and sends the Forwarding (0x00) and Forwarding Standby (0x20) status signaling to the remote PE.

  • Independent mode: After this mode is configured, the PE determines the primary/secondary status of the local PWs based on the status information sent by the remote PE and sends the Forwarding (0x00) status signaling to the remote PE.

Example

# Determine the primary and secondary PWs on VLANIF100 by using the PW negotiation mode.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls l2vc 1.1.1.1 1
[HUAWEI-Vlanif100] mpls l2vc 2.2.2.2 2 secondary
[HUAWEI-Vlanif100] mpls l2vpn redundancy independent
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >