default-originate (bgp-neighbor-config)

Enables the sending of the default route to BGP neighbors. It also allows the configuration of the default route. When enabled and configured, local BGP routers send the default route 0.0.0.0 (or a route map specified route) to its neighbor for use as the default route.

Supported in the following platforms:

Syntax

default-originate {route-map <BGP-ROUTE-MAP-NAME>}

Parameters

default-originate {route-map <BGP-ROUTE-MAP-NAME>}
default-originate 
{route-map <BGP-ROUTE-MAP-NAME>}
Enables default originate on this BGP neighbor. This option is disabled by default.
  • route-map <BGP-ROUTE-MAP> – Optional. Use this keyword to specify a route map to use as the default originate route.
Note: If no route-map is specified, the default route 0.0.0.0 is sent.

Examples

nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#default-originate
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#show context
  bgp neighbor 192.168.13.99
   advertisement-interval 100
   allowas-in 10
   attribute-unchanged as-path
   capability orf prefix-list both
   default-originate
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#

Related Commands

no (bgp-neighbor-config) Disables sending of the default route to BGP neighbors