When the router running BGP is attacked or network configuration errors occur, the router receives a large number of routes from its neighbor. As a result, a large number of resources of the router are consumed. Therefore, the administrator must limit the resources used by the router based on network planning and the capacity of the router. BGP provides peer-based route control to limit the number of routes to be sent by a neighbor. Thus, the preceding problem is addressed.
Especially in some edge devices, such as CE devices in MPLS VPN networks. These devices generally have limited performance and do not need to receive too many BGP routes. At the same time, if we want the device to receive detailed routes and not just default routes, we can discard unwanted routes by setting routing entries.
The configuration template is as below:
Table 1-1 BGP Limitation Number Configuration Template
# bgp 65000 ipv4-family vpn-instance vpn-instance-name peer { group-name | ipv4-address | ipv6-address } route-limit limit # commit # |