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)

👋 Kindness is contagious

Dive into this thoughtful article, cherished within the supportive DEV Community. Coders of every background are encouraged to share and grow our collective expertise.

A genuine "thank you" can brighten someone’s day—drop your appreciation in the comments below!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found value here? A quick thank you to the author makes a big difference.

Okay