display evpn df result

Function

The display evpn df result command displays the DF election result of an EVPN instance.

Format

display evpn vpn-instance name vpn-instance-name df result [ esi esi ]

Parameters

Parameter Description Value
vpn-instance-name

Specifies the name of an EVPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

esi esi

Displays the DF election result of an EVPN instance with the specified ESI.

The value is in the format of xxxx.xxxx.xxxx.xxxx.xxxx, where x is a hexadecimal integer ranging from 0 to F. The value must start with 00 or 01 and cannot be all 0s.

vpn-instance

Displays the DF election result of an EVPN instance.

-

name

Displays the DF election result of an EVPN instance with the specified name.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

To check the DF election result, corresponding interface, and interface's ESI, run the display evpn df result command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the ESI precedence-based DF election result.
<HUAWEI> display evpn vpn-instance name evpn1 df result esi 0021.1001.1001.1001.1002
ESI: 0021.1001.1001.1001.1002

 IFName Eth-Trunk1.1:
  DF Result    : Backup
 DF Election Type: Preference-based 
  Number of DF Election PE: 3
   DF-Result   Originating-IP    Preference  DP  AC-DF 
   DF          10.100.100.1      300         0   1
   Backup DF   10.100.100.2      200         0   1
   Backup DF   10.100.100.3      100         0   1
# Display the DF election result in a PW accessing EVPN scenario.
<HUAWEI> display evpn vpn-instance name evpn2 df result
ESI Count: 1

ESI: 0001.0002.0003.0004.0005

 PW<peerip:1.1.1.1 vcid:100 vctype:vlan>:
  DF Result    : Primary
# Display the BD-based DF election result of an EVPN instance.
<HUAWEI> display evpn vpn-instance name c2 df result
ESI Count: 1

ESI: 0010.1010.1010.1010.1010

 GigabitEthernet0/1/0:
  DF Result    : Primary
# Display the interface-based DF election result of an EVPN instance.
<HUAWEI> display evpn vpn-instance name c1 df result
ESI Count: 1

ESI: 0010.1010.1010.1010.1010

 GigabitEthernet0/1/0:
  Current State: IFSTATE_UP
  DF Result    : Primary
Table 1 Description of the display evpn df result command output
Item Description
DF Result

DF election result:

  • Primary: primary DF.
  • Backup: backup DF.
DF Election Type

DF election type.

Number of DF Election PE

Number of PEs that participate in DF election.

Originating-IP

Source IP address of a PE.

Preference

Precedence of an ESI instance.

DP

Whether preemption is allowed.

0: Preemption is allowed.

1: Preemption is not allowed.

AC-DF

Whether the AC status affects DF election.

0: The AC status does not affect DF election.

1: The AC status affects DF election.

ESI Count

Number of ESIs for the EVPN instance.

ESI

Specific ESI for the EVPN instance.

Current State

Current status of GigabitEthernet0/1/0:

  • IFSTATE_UP.
  • IFSTATE_DOWN.
GigabitEthernet0/1/0

Ethernet interface that has the ESI of 0010.1010.1010.1010.1010 configured.

PW

PW information.

peerip

Peer IP address of a PW.

vcid

PW ID used to identify a specific VC.

vctype

Encapsulation type of a VPLS PW.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >