Configuring a BGP EVPN RR helps reduce the number of required BGP EVPN peer relationships, and therefore saves network resources.
In an AS where a router serves as an RR, other routers can serve as RR clients. The clients establish BGP EVPN peer relationships with the RR. The RR and its clients form a cluster. The RR reflects routes among the clients, and therefore the clients do not need to establish IBGP connections.
The system view is displayed.
The BGP view is displayed.
The BGP-EVPN address family view is displayed.
An RR and its clients are configured.
The device where the peer reflect-client command is run serves as the RR and the specified peers or peer groups serve as clients.
Route reflection between clients through the RR is disabled.
If the clients of an RR have established full-mesh connections with each other, you can run the undo reflect between-clients command to disable route reflection between clients through the RR to reduce the link cost. The undo reflect between-clients command can only be run on an RR.
A cluster ID is configured for the RR.
If a cluster has multiple RRs, you can use this command to set the same cluster ID for these RRs to prevent routing loops.
The reflector cluster-id command can only be run on an RR.
The configuration is committed.