A router sends a default route with the local address being the next hop to the specified peer, regardless of whether there are default routes in the local routing table.
bgp { as-number-plain | as-number-dot }
ipv6-family [ unicast ]
peer { ipv4-address | ipv6-address | group-name } default-route-advertise [ route-policy route-policy-name ] [ conditional-route-match-all { ipv6-address1 prefix-length1 } &<1-4> | conditional-route-match-any { ipv6-address2 prefix-length2 } &<1-4> ]
If route-policy route-policy-name is set, the BGP device changes attributes of a default route based on the specified route policy.
If conditional-route-match-all { ipv6-address1 prefix-length1 } &<1-4> is set, the BGP device sends a default route to the peer only when all specified routes exist in the local routing table.
If conditional-route-match-any { ipv6-address2 prefix-length2 } &<1-4> is set, the local device sends a default route to the peer when one of the specified routes exists in the local routing table.
After the peer default-route-advertise command is used on a device, the device sends a default route with the local address as the next-hop address to a specified peer, regardless of whether there is a default route in the routing table.