Page 1 of 1

bgp filter question

Posted: Sun Feb 17, 2013 8:54 am
by edmundas
i have 2 bgp peers 1 telco 2nd client
i want filter not to advertise any route to cllient. just default route should be advertised. help would be appreciated

Re: bgp filter question

Posted: Mon Feb 18, 2013 7:17 am
by akmjahangir
I can help
add me skype

Re: bgp filter question

Posted: Mon Feb 18, 2013 6:16 pm
by docmarius
I can help
add me skype
Wouldn't it be nice to help here, so that others can also learn something?

Re: bgp filter question

Posted: Mon Feb 18, 2013 6:29 pm
by cupis
i want filter not to advertise any route to cllient. just default route should be advertised. help would be appreciated
Setup a Routing Filter to the above specification, then apply it as the out-filter in the BGP session to your client.

Something like:
/routing filter
add action=accept chain=DEFAULTONLY disabled=no invert-match=no prefix=0.0.0.0 prefix-length=0
add action=reject chain=DEFAULTONLY disabled=no invert-match=yes prefix=0.0.0.0 prefix-length=0
The don't forget to set the BGP peer to advertise the default route and set the above as the out-filter.