The vrrp-id command binds an EVPL instance to a specified VRRP group.
The undo vrrp-id command unbinds an EVPL instance to a specified VRRP group.
By default, no EVPL instance is bound to a VRRP group.
Parameter | Description | Value |
---|---|---|
vrid |
Specifies the ID of a VRRP group. |
The value is an integer ranging from 1 to 255. |
interface interface-name |
Specifies the name of an interface configured with a VRRP group. |
- |
interface-type |
Specifies the type an interface configured with a VRRP group. |
- |
interface-number |
Specifies the number of an interface configured with a VRRP group. |
- |
Usage Scenario
The vrrp-id command binds an EVPL instance to a specified VRRP group and determines the active/standby status of an ESI instance based on the VRRP status in single-active mode.
Prerequisites
Before running this command, perform the following operations:
Precautions
Only the EVPL instance where the AC interface is not configured or the AC interface is a VE sub-interface can be bound to a VRRP group.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1 [*HUAWEI-GigabitEthernet0/1/1] vrrp vrid 1 [*HUAWEI-GigabitEthernet0/1/1] quit [*HUAWEI] evpn vpn-instance evrf1 vpws [*HUAWEI-evpn-instance-evrf1] route-distinguisher 100:1 [*HUAWEI-evpn-instance-evrf1] vpn-target 1:1 [*HUAWEI-evpn-instance-evrf1] quit [*HUAWEI] evpl instance 1 [*HUAWEI-evpl1] evpn binding vpn-instance evrf1 [*HUAWEI-evpl1] vrrp-id 1 interface GigabitEthernet 0/1/1