vrrp-id (EVPL view)

Function

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.

Format

vrrp-id vrid interface { interface-name | interface-type interface-number }

undo vrrp-id vrid [ interface { interface-name | interface-type interface-number } ]

Parameters

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.

-

Views

EVPL view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

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:

  1. Create a VRRP group by running the vrrp vrid command in the interface view.
  2. Create an EVPN instance in VPWS mode.
  3. Create an EVPL instance and bind it to the EVPN instance.

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.

Example

# Bind the EVPL instance 1 to VRRP group 1.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >