neighbor default-originate

Syntax

neighbor {<IP-ADDR>|<PEER-GROUP-NAME>} default-originate [route-map <MAP-NAME>]

no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} default-originate [route-map <MAP-NAME>]

Description

Enables the local router to send the default route 0.0.0.0 to a neighbor. The neighbor can then use this route to reach the router when all other routes are unavailable. Use the route-map option to configure the route map to modify the default route attributes.

The no form of this command disables this feature.

Command context

config-bgp-ipv4-uc

config-bgp-ipv6-uc

Parameters

<IP-ADDR>

Specifies an IP address in IPv4 format (x.x.x.x), where x is a decimal number from 0 to 255, or IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), where x is a hexadecimal number from 0 to F.

<PEER-GROUP-NAME>

Specifies a peer group.

<MAP-NAME>

Sets the route map to modify the default route attributes.

Authority

Administrators or local user group members with execution rights for this command.

Examples

switch(config-bgp-ipv4-uc)# neighbor 1.1.1.1 default-orginate
switch(config-bgp-ipv4-uc)# no neighbor 1.1.1.1 default-originate
switch(config-bgp-ipv4-uc)# neighbor PG default-originate
switch(config-bgp-ipv4-uc)# no neighbor PG default-originate