cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1349
Views
0
Helpful
4
Replies

packet filtering on BGP communities

william jackson
Level 1
Level 1

Hi all

I want to achieve the following scenario:

I have a BGP feed that gives me routes with community X.

I have an input ACL on an interface.

I want to be able to say:

if src or dst of packet = any route with community x then drop

I can do this with FBF in junos, can I do this on IOS-XR?

1 Accepted Solution

Accepted Solutions

Hi William,

I think you can use technique similar to RTBH :

http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6586/ps6642/prod_white_paper0900aecd80313fac.pdf

by using rpl to set the next-hop to a /32 address statically routed to NULL.

For source address match, you combine this with RPF.

Hope it helps,

Serge.

View solution in original post

4 Replies 4

serge123
Level 1
Level 1

Thanks serge, but this is not what I want.

The route-policy only apply at the routing level, what I want is to packet filter based on routes having certain communities.

Hi William,

I think you can use technique similar to RTBH :

http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6586/ps6642/prod_white_paper0900aecd80313fac.pdf

by using rpl to set the next-hop to a /32 address statically routed to NULL.

For source address match, you combine this with RPF.

Hope it helps,

Serge.

Thanks serge

thats just what I need.