Hi,
For your situation, the easiest option would be to create an aggregate 0/0 route under routing-options of the routing-instance, and then match it in policy-statement which you've written above.
Note that without active route in routing table you cannot (unless you use workarounds like advertise-inactive) advertise 0/0 in BGP.
------------------------------
FARID AKHUNDOV
------------------------------
Original Message:
Sent: 02-14-2024 09:25
From: Anonymous
Subject: default-originate
This message was posted by a user wishing to remain anonymous
Hi,
Wonder if you could help - Im looking for a link where I can read up on BGP default route generation (similar to Cisco's "default-originate") and advertisement to eBGP peer. I can't seem to find any Juniper document covering this on juniper.net.
I'm trying to generate a default route under a Routing-Instance and advertise to a eBGP neighbor.
I'm trying to figure out if I need static route to generate and advertise using the export policy or can i just use the below without the static route?
term 1{
from {
route-filter 0.0.0.0/0 exact;
}
then {
accept;
}