How to advertise the default route?

Hello,

we want send default route to a particular peer.

In BGP peer, we have tried to set


default-originate=always

or


default-originate=if-installed

without success.

The only workaround that we have found is to create a out filter with discard action


/routing filter add action=discard chain=peer-out

But with this rule, the peer dont receive any rute.

What is the correct way to send refault route?

Thanks!

Advertise to this specific peer 0.0.0.0/0 outbound and discard any other.

Thanks @Anumrak

works if I set with prefix-length=0

/routing filter
add action=accept chain=Peer-OUT prefix=0.0.0.0/0 prefix-length=0
add action=discard chain=Peer-OUT

Not necessary set prefix length.