DEV Community

Cover image for Reload BGP routes / configuration on your EdgeRouter
Wietse Wind
Wietse Wind

Posted on

Reload BGP routes / configuration on your EdgeRouter

So you updated your BGP configuration and your EdgeRouter doesn't reflect your updates? Or the BGP service seems to have stopped and doesn't come back?

You run into this if you have BGP configured, but all show ip bgp commands return nothing, eg.:

show ip bgp summary
Enter fullscreen mode Exit fullscreen mode

... results in just a newline and even stopping* & starting* the BGP service doesn't help.

A workaround is to save your existing config, delete the bgp settings, commit (that'll get EdgeOS to disable BGP), reload (load) your config (with BGP settings), commit (that'll get EdgeOS to restart EdgeOS with the most recent BGP config).

configure
save
delete protocol bgp
commit
load
commit
exit
Enter fullscreen mode Exit fullscreen mode

*) Starting/Stopping the BGP service

When not in a configure session:

/etc/init.d/vyatta-quagga stop bgpd
/etc/init.d/vyatta-quagga start bgpd
# or:
/etc/init.d/vyatta-quagga force-reload bgpd
Enter fullscreen mode Exit fullscreen mode

Top comments (0)