Crate bgpd[−][src]
Expand description
BGPd-rs is a BGP peering utility
BGPd can be started via the CLI:
$ bgpd-rs path/to/config.toml
The config TOML file is where you specify global BGP attributes and configure
peer details. Learn more about the options in the config
module.
You change specify TCP port (default=179) or address (default=localhost):
$ bgpd-rs path/to/config.toml --port 1179 --address 2601:1179::1
The JSON RPC API server defaults to localhost:8080, but can also be specified:
--api-addr 2601:1179::1
--api-port 80
View more detailed logging by setting log verbosity (additive)
-v
DEBUG-vv
TRACE-vvv
TRACE (including tokio logs)
To update the daemon with an updated config while it’s running, send a SIGHUP:
pkill -1 bgpd$
The following peer items will be updated:
- Peers added, removed, enabled, disabled
- Active/passive polling for idle peers
- *Hold Timer
- *Supported Families
*When not in an active session only, since these are negotiated in the OPEN