cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
262
Views
15
Helpful
2
Replies

route filters

rsamuel708
Level 1
Level 1

In my bgp config, I have a route map denying bogon routes and permiting 0.0.0.0/0, and two filter routes...one denying transit traffic outbound between my two ISPs, and the other inbound that filters traffic to accept local ISP routes only.

My question is, is there a limit to the amount of either inbound or outbound filter, prefix-list, or route-maps for any given BGP neighbor?

Thank you.

/rls

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

rls

You can potentially have one of each type inbound and one of each type outbound. Getting it to work correctly with that many filters becomes a challenge and most of us are motivated to design and implement our route filtering with a smaller number of filters. But if your question is to understand the manimum number permitted then it is one of each type in and one of each type out.

HTH

Rick

HTH

Rick

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Robert,

as Rick has explained you can have one distribute-list one filter-list and one route-map for each neighbor inbound and outbound.

However, it is possible to rewrite all using a single route-map because it can reference as-path access-lists, ip access-lists and so on (including community access-lists)

I would do in that way to make config more readable a single route-map with multiple blocks implementing all the filters you have.

There is a difference: now the filters are cascaded with an order that depends on the direction: the output of one filter is the input of the next filter.

To do the same with a route-map you need to specify all criteria in every route-map block.

I'm proposing one route-map for direction.

Hope to help

Giuseppe

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card