Multiple filters can be applied to a neighbor at once, so there is an order of operations which must be understood. It is as follows.
For inbound advertisements received from a BGP neighbor, the router processes the following filter mechanisms in this order before the route reaches the BGP forwarding table.
- Route-Map in
- Filter-List in
- Prefix-List in
On the outbound, this process is reversed.
- Prefix-List out
- Filter-List out
- Route-Map out