neighbor default-originate
Syntax
neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} default-originate [route-map <MAP-NAME>]
no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} default-originate [route-map <MAP-NAME>]
Description
This command 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
or
config-bgp-ipv6-uc
Parameters
<IP-ADDRESS>
Specifies an IP address.
<PEER-GROUP-NAME>
Specifies a peer group.
<MAP-NAME>
Optional: Configure the route map to modify the default route attributes.
Authority
Administrators
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