A BGP device can use a route-filter to filter the routes to be received and modify route attributes to control the network traffic forwarding path.
BGP is used to transmit routing information between ASs, and route advertisement directly affects traffic forwarding.
A BGP device may receive multiple routes to the same destination network from different peers. To control the network traffic forwarding path, filter the routes to be received.
In addition, a BGP device may receive a large number of routes during an attack, which may consume lots of device resources. In this case, the administrator must limit the resource consumption based on the network planning and device performance.
You can use XPL route-filters to control the BGP routes to be received from all peers or peer groups or from a specified peer or peer group.
Before using XPL to filter the BGP routes to be received, configure basic BGP functions.
Perform the following steps on the BGP device:
Perform the following steps on the BGP device:
Run the following commands to check configurations: