< Home

mpls l2vpn trigger if-down

Function

The mpls l2vpn trigger if-down command enables the notification of physical layer faults.

The undo mpls l2vpn trigger if-down command disables the notification of physical layer faults.

By default, the notification of physical layer faults is disabled.

Format

mpls l2vpn trigger if-down

undo mpls l2vpn trigger if-down

Parameters

None

Views

25GE interface view, 40GE interface view,100GE interface view, GE interface view, MultiGE interface view, or XGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In a VLL FRR networking, an AC must detect failures of the corresponding PW to trigger link switching. This command enables the notification of physical layer faults so that ACs can detect failures of PWs.

Precautions

After the notification of physical layer faults is enabled:

  • When a physical layer fault occurs on the PW side, the local AC interface is Down.
  • When a physical layer fault occurs on the AC side, the local PE notifies the peer PE of the fault and the peer AC interface is Down.

After the fault is rectified, the Down AC interface automatically becomes Up.

Example

# Enable the notification of physical layer faults.

<HUAWEI> system-view
[HUAWEI] mpls l2vpn
[HUAWEI-l2vpn] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls l2vc 1.1.1.1 1
[HUAWEI-GigabitEthernet0/0/1] mpls l2vpn trigger if-down
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >