When multiple PEs exist in the ASs, you can configure an ASBR as an RR to lower configuration complexity.
In inter-AS EVPN Option B mode, if multiple PEs exist in an AS, you can configure an ASBR as an RR to reduce the number of MP-IBGP connections needed between PEs. Configuring an ASBR as an RR will burden the ASBR. Therefore, it is recommended that a high-performance device be used as the ASBR. ASBR1 is configured as an RR so that PE1 and PE2 do not need to set up an MP-IBGP peer relationship.
The ASBR1 system view is displayed.
The BGP view is displayed.
The BGP-EVPN address family view is displayed.
ASBR1 is configured as an RR, and the PE is configured as a client. If you need to configure multiple PEs as clients, repeatedly run this command.
The ASBR is configured to change the next hop address of a route to the device's own IP address before the device advertises the route to an IBGP peer.
A reflection policy is configured for the RR.
The RR is enabled to modify BGP route attributes using an export policy.
After the reflect change-path-attribute command is run on the RR:
The configuration is committed.