After you prevent an RR from adding BGP routes to the IP routing table, the RR no longer forwards traffic, which improves route advertisement efficiency.
In most cases, BGP routes are added to the IP routing table of the router for traffic forwarding. If the router does not need to forward traffic, prevent it from adding BGP routes to the IP routing table.
RRs need to be prevented from adding BGP routes to the IP routing table. An RR no only transmits routes but also forwards traffic. If the RR is connected to many clients and non-clients, the route transmission task will consume a lot of CPU resources of the RR, and as a result, the RR cannot forward traffic. To improve the route transmission efficiency, prevent the RR from adding BGP routes to the IP routing table so that the RR only transmits routes.
Perform the following steps on the router that runs BGP:
The system view is displayed.
The BGP view is displayed.
The IPv4 unicast address family view is displayed.
The device is prevented from adding BGP routes to the IP routing table.
If route-policy route-policy-name or route-filter route-filter-name is configured in the routing-table rib-only command, routes matching the policy are not added to the IP routing table, and routes that do not match the policy are added to the IP routing table, with the route attributes unchanged.
The configuration is committed.