peer esad-route-compatible (BGP-EVPN address family view) (group)

Function

The peer esad-route-compatible command enables all peers of a peer group to send ES AD routes in the standard format defined in relevant standards.

The undo peer esad-route-compatible command cancels the standard format in which ES AD routes are sent.

By default, a device sends ES AD routes in a non-standard format.

Format

peer peer-group-name esad-route-compatible

undo peer peer-group-name esad-route-compatible

Parameters

Parameter Description Value
peer-group-name

Specifies the name of a BGP EVPN peer group.

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

Views

BGP-EVPN address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In an earlier software version, the ESI label of an ES AD route is placed in the MPLS Label field of EVPN NLRI instead of being in the ESI Label extended community attribute according to relevant standards. Therefore, to ensure that the devices running earlier and later software versions can communicate with each other, configure the format in which ES AD routes are to be sent. To send ES AD routes in a standard format, run the peer esad-route-compatible enable command. To send ES AD routes in a non-standard format, run the peer esad-route-compatible disable command.

Precautions

  1. If the behavior of the peer group is different from that of the specified peer, the configuration of the specified peer determines the format of ES-AD routes sent by the peer.
  2. By default, EVPN IPv6 peers send ES-AD routes in the standard format defined by the protocol. Running this command for a peer group does not affect the IPv6 peers in the peer group.

Example

# Enable a device to send ES AD routes in the standard format defined in relevant standards.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] group gp1
[*HUAWEI-bgp] peer 1.1.1.1 as-number 100
[*HUAWEI-bgp] l2vpn-family evpn
[*HUAWEI-bgp-af-evpn] peer gp1 enable
[*HUAWEI-bgp-af-evpn] peer 1.1.1.1 group gp1
[*HUAWEI-bgp-af-evpn] peer gp1 esad-route-compatible
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >