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.
25GE interface view, 40GE interface view,100GE interface view, GE interface view, MultiGE interface view, or XGE interface view
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:
After the fault is rectified, the Down AC interface automatically becomes Up.
# 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