BGP Peer to only advertise default gateway

Good day

I have a issue where I have a peer configured to send out a default gateway.

add default-originate=always name=Default-GW-Advertise remote-address=xxx.xxx.xxx.xxx remote-as=200 ttl=default

But due to me not having any Out-Filter I am advertising my whole routing table to the remote peer and that is not correct.
All I want to advertise is the Default-GW.

How should I create my Out-Filter. Also I am not going to receive anything from the remote peer.

Regards

Be sure that your instance has:

  • redistribute-connected: no


  • redistribute-ospf: no


  • redistribute-other-bgp: no


  • redistribute-rip: no


  • redistribute-static: no


  • client-to-client-reflection: no

And you will have no need to use any filter.
If this doesn’ work, please export here your BGP configuration for both Peer.