The peer track admin-vrrp vrid command binds a service PW in a service VSI to an mVRRP group.
The undo peer track admin-vrrp vrid command unbinds a service PW in a service VSI from an mVRRP group.
By default, no service PW in a service VSI is bound to an mVRRP group.
peer peer-address [ negotiation-vc-id vc-id ] track admin-vrrp interface { interface-name | interface-type interface-number } vrid virtual-router-id pw-redundancy backup-block-all
undo peer peer-address [ negotiation-vc-id vc-id ] track admin-vrrp [ interface { interface-name | interface-type interface-number } vrid virtual-router-id pw-redundancy backup-block-all ]
Parameter | Description | Value |
---|---|---|
peer-address |
Specifies a peer IP address. |
The value is in dotted decimal notation. |
negotiation-vc-id vc-id |
Specifies a VC ID. A VC ID is used when two ends that have different VSI IDs need to communicate.
|
The value is an integer ranging from 1 to 4294967295.The value is an integer ranging from 1 to 4294967295. |
interface interface-name |
Specifies an interface name. |
- |
interface-type |
Specifies an interface type. |
- |
interface-number |
Specifies an interface number. |
- |
virtual-router-id |
Specifies the ID of an mVRRP group. |
The value is an integer ranging from 1 to 255. |
pw-redundancy |
Indicates a VPLS PW redundancy scenario. If pw-redundancy is configured, the PW redundancy mechanism determines the active/standby status of a PW based on the master/backup status of the corresponding remote PE in the mVRRP group. |
- |
backup-block-all |
Blocks multicast traffic forwarding. |
- |
Usage Scenario
In a VLL accessing VPLS+VXLAN scenario where independent PW redundancy is configured, the PW redundancy mechanism determines the active/standby status of PWs based on the master/backup status of the remote PEs in the mVRRP group.
After the peer track admin-vrrp vrid command is configured, the PW redundancy mechanism determines the active/standby status of a PW based on the master/backup status of the corresponding remote PE in the mVRRP group.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] ip address 192.168.10.1 24 [*HUAWEI-GigabitEthernet0/1/0] vrrp vrid 100 virtual-ip 192.168.10.100 [*HUAWEI-GigabitEthernet0/1/0] admin-vrrp vrid 100 [*HUAWEI-GigabitEthernet0/1/0] quit [*HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi v100 bd-mode [*HUAWEI-v100] pwsignal ldp [*HUAWEI-v100-ldp] vsi-id 100 [*HUAWEI-v100-ldp] peer 2.2.2.2 negotiation-vc-id 100 track admin-vrrp interface GigabitEthernet 0/1/0 vrid 100 pw-redundancy backup-block-all