neighbor default-originate

Configures the device to send the default route 0.0.0.0 to a neighbor.
Syntax
neighbor { ip-address | ipv6-address | peer-group-name } default-originate [ route-map map-name ]
no neighbor { ip-address | ipv6-address | peer-group-name } default-originate [ route-map map-name ]
Parameters
ip-address
Specifies the IPv4 address of the neighbor.
ipv6-address
Specifies the IPv6 address of the neighbor.
peer-group-name
Specifies the peer group name.
route-map
Optionally injects the default route conditionally, depending on the match conditions in the route map.
map-name
Specifies a route map.
Modes

BGP configuration mode

BGP address-family IPv6 unicast configuration mode

Usage Guidelines

When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.

Examples

The following example sends the default route to a BGP4 neighbor.

device# configure terminal 
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 default-originate route-map myroutemap

The following example sends the default route for a BGP4+ neighbor.

device# configure terminal 
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 2001:2018:8192::125 default-originate route-map myroutemap22