The mpls l2vc track admin-vc command binds service PWs to an mPW.
The undo mpls l2vc track admin-vc command deletes the binding between a service PW and an mPW.
By default, no service PW is bound to an mPW.
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 Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view
Usage Scenario
To accelerate PW fault detection, BFD is generally used. When a large number of service PWs originated from the same source and destined for the same device are available, a large number of BFD sessions are required, which consumes lots of resources. To reduce the consumption of public network link bandwidths and system resources, configure an mPW that has the same source and destination as the service PWs and bind the service PWs to the mPW. This configuration allows the service PWs to track the mPW status. Therefore, a BFD session can be configured only for the mPW to detect faults. The mPW then notifies all service PWs bound to it of the status. This allows the BFD session to also monitor the service PWs.
To bind service PWs to an mPW so that the service PW status is determined by the mPW status, run the mpls l2vc track admin-vc command.Prerequisites
A service PW has been created using the mpls l2vc command, and an mPW has been created using the
mpls l2vc admin command. Note that:Configuration Impact
After service PWs are bound to an mPW, the mPW is used to detect public network link faults:
Precautions
The mpls l2vc track admin-vc command applies to primary and secondary PWs on PEs but not to multi-segment PWs.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface loopback 1 [*HUAWEI-Loopback1] mpls l2vc 2.2.2.2 2 admin [*HUAWEI-Loopback1] quit [*HUAWEI] interface GigabitEthernet 0/1/8 [*HUAWEI-GigabitEthernet0/1/8] mpls l2vc 2.2.2.2 7 [*HUAWEI-GigabitEthernet0/1/8] mpls l2vc 2.2.2.2 6 secondary [*HUAWEI-GigabitEthernet0/1/8] mpls l2vc secondary track admin-vc interface loopback 1
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface loopback 0 [*HUAWEI-Loopback0] mpls l2vc 1.1.1.1 1 admin [*HUAWEI-Loopback0] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 1.1.1.1 5 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc track admin-vc interface loopback 0