Next: , Up: BGP


10.1 Starting BGP

Default configuration file of bgpd is bgpd.conf. bgpd searches the current directory first then /usr/local/etc/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.