Enterasys Networks XSR CLI Router User Manual


 
BGP Configuration Commands
XSR CLI Reference Guide 6-93
Example
ThefollowingexamplesetstheneighboradvertisementintervalvaluewithinBGPprocess100.
Notethatthe
neighbor remote-as commandmustbeexecutedbeforethiscommandcanbe
entered.Intheexample,therouteronwhichtheconfigurationoccursresidesinAS100.Neighbor
192.168.1.1residesinAS101.Thedefaultupdateintervalbetweenthesepeershasbeenchanged
from30to90seconds.
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
Thiscommandsendstheroute0.0.0.0totheBGPneighboroftherouterthatthiscommandis
enteredonsothatitcanbeusedasthedefaultroute.Beforeenteringthiscommand,aneighboror
peergroupmustbeidentifiedbymeansofthe
neighbor remote-as orneighbor peer-group
commands.
Syntax
neighbor {ip-address | peer-group-name} default-originate
Syntax of the “no” Form
Thenoformofthiscommandreturnstothe defaultvalue:
no neighbor {ip-address | peer-group-name} default-originate
Mode
Routerconfiguration:XSR(config-router)#
Default
Disabled
Example
Thisexamplesetsthelocalroutertounconditionallyinjectroute 0.0.0.0toneighbor192.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’sIPaddress.
peer-group-name
BGPpeergroupbyname.Range:1to64characters.