The mpls l2vc track admin-vrrp secondary command binds secondary service PWs to an mVRRP group.
The undo mpls l2vc track admin-vrrp secondary command deletes the binding between secondary service PWs and an mVRRP group.
By default, no secondary service PW is bound to an mVRRP group.
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, 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
In 4PE PW redundancy scenarios in which E-VRRP is used, to associate E-VRRP with PW redundancy, run the mpls l2vc track admin-vrrp secondary command so that the secondary service PW status can be determined.
Prerequisites
Precautions
Service PWs and mVRRP interfaces must be configured on different sub-interfaces of the same physical interface. If not, the mVRRP status cannot reflect the actual PW status.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0.2 [*HUAWEI-GigabitEthernet0/1/0.2] ip address 192.168.0.1 255.255.255.0 [*HUAWEI-GigabitEthernet0/1/0.2] vrrp vrid 1 virtual-ip 192.168.0.100 [*HUAWEI-GigabitEthernet0/1/0.2] admin-vrrp vrid 1 [*HUAWEI-GigabitEthernet0/1/0.2] quit [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0.1 [*HUAWEI-GigabitEthernet0/1/0.1] vlan-type dot1q 10 [*HUAWEI-GigabitEthernet0/1/0.1] mpls l2vc 1.1.1.1 100 [*HUAWEI-GigabitEthernet0/1/0.1] mpls l2vc 1.1.1.1 200 secondary [*HUAWEI-GigabitEthernet0/1/0.1] mpls l2vc track admin-vrrp interface GigabitEthernet 0/1/0.2 vrid 1 pw-redundancy [*HUAWEI-GigabitEthernet0/1/0.1] mpls l2vc track admin-vrrp secondary