The peer esad-route-compatible enable command enables a device to send ES AD routes in the standard format defined in relevant standards.
The peer esad-route-compatible disable command enables a device to send ES AD routes in a non-standard format.
The undo peer esad-route-compatible command restores the default configuration.
By default, a device sends ES AD routes in a non-standard format.
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
If the peer group and the specified peer are configured to send ES AD routes in different formats, the specified peer sends ES AD routes in its own configured format.
<HUAWEI> system-view [~HUAWEI] bgp 100 [*HUAWEI-bgp] peer 1.1.1.1 as-number 100 [*HUAWEI-bgp] l2vpn-family evpn [*HUAWEI-bgp-af-evpn] peer 1.1.1.1 enable [*HUAWEI-bgp-af-evpn] peer 1.1.1.1 esad-route-compatible enable