To configure BGP to originate a default IPv6 route to a specific neighbor, use the neighbor default-originate command. By default, a neighbor-specific default has no MED and the Origin is IGP. Attributes may be set using an optional route map. A neighbor-specific default is only advertised if the Adj-RIB-Out does not include a default learned by other means, either from the default-information originate command or a default learned from a peer. This type of default origination is not conditioned on the presence of a default route in the routing table. This form of default origination does not install a default route in the BGP routing table (it will not appear in the show ip bgp command), nor does it install a default route in the Adj-RIB-Out for the update group of peers so configured (it will not appear in the show ip bgp neighbors advertised-routes command).
Origination of the default route is not subject to a prefix filter configured with the distribute-list prefix out command.
A route map may be configured to set attributes on the default route sent to the neighbor. If the route map includes a match ip-address term, that term is ignored. If the route map includes match community or match as-path terms, the default route is not advertised. If there is no route map with the route map name given, the default route is not advertised.
Default | No default is originated by default. |
Format | neighbor ip-address default-originate [route-map map-name] |
Mode | IPv6 Address Family Config |
Parameter | Description |
---|---|
ip-address | The neighbor's IPv6 address. |
map-name | (Optional) A route map may be configured to set attributes on the default route advertised to the neighbor. |