Next: , Up: BGP   [Contents][Index]


11.1 Starting BGP

Default configuration file of bgpd is bgpd.conf. bgpd searches the current directory first then /etc/quagga/bgpd.conf. All of bgpd’s command must be configured in bgpd.conf.

bgpd specific invocation options are described below. Common options may also be specified (see Common Invocation Options).

‘-p PORT’
‘--bgp_port=PORT’

Set the bgp protocol’s port number.

‘-r’
‘--retain’

When program terminates, retain BGP routes added by zebra.

‘-l’
‘--listenon’

Specify a specific IP address for bgpd to listen on, rather than its default of INADDR_ANY / IN6ADDR_ANY. This can be useful to constrain bgpd to an internal address, or to run multiple bgpd processes on one host.