After an import policy is configured, only the routes that match the import policy can be received.
BGP can use the routing policy on and filter the globally received routes or only the routes received from a certain peer or a peer group.
The local BGP router may be prone to service attacks. That is, the local BGP router may receive a large number of routes from neighbors, and thus a lot of router resources are consumed. This is because the local router may be prone to service attacks. In the case of too many BGP routes caused by malicious attacks or incorrect configurations, the administrator must limit the resources consumed by the network and routers according to the network planning and the capacities of routers. BGP can control peers to limit the number of routes sent by peers.