Neighbor default-originate – Enterasys Networks X-Pedition XSR CLI User Manual
Page 289
BGP Configuration Commands
XSR CLI Reference Guide 6-93
Example
The following example sets the neighbor advertisement‐interval value within BGP process 100.
Note that the
neighbor remote-as
command must be executed before this command can be
entered. In the example, the router on which the configuration occurs resides in AS 100. Neighbor
192.168.1.1 resides in AS 101. The default update interval between these peers has been changed
from 30 to 90 seconds.
XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 advertisement-interval 90
neighbor default-originate
This command sends the route 0.0.0.0 to the BGP neighbor of the router that this command is
entered on so that it can be used as the default route. Before entering this command, a neighbor or
peer group must be identified by means of the
neighbor remote-as
or
neighbor peer-group
commands.
Syntax
neighbor {ip-address | peer-group-name} default-originate
Syntax of the “no” Form
The no form of this command returns to the default value:
no neighbor {ip-address | peer-group-name} default-originate
Mode
Router configuration:
XSR(config-router)#
Default
Disabled
Example
This example sets the local router to unconditionally inject route 0.0.0.0 to neighbor 192.168.1.1:
XSR(config)#router bgp 100
XSR(config-router)#neighbor 192.168.1.1 remote-as 101
XSR(config-router)#neighbor 192.168.1.1 default-originate
ip-address
Neighbor’s IP address.
peer-group-name
BGP peer group by name. Range: 1 to 64 characters.