bgp filter question

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

I can help
add me skype

Wouldn’t it be nice to help here, so that others can also learn something?

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.