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

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 if all other routes are unavailable. Use the route-map option to configure the route-map to modify the default route's attributes.

The no form of this command disables this feature.

Command context

config-router

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's attributes.

Authority

Administrators

Examples

switch(config-router)# neighbor 1.1.1.1 default-orginate
switch(config-router)# no neighbor 1.1.1.1 default-originate
switch(config-router)# neighbor PG default-originate
switch(config-router)# no neighbor PG default-originate