Page MenuHomeVyOS Platform

BGP Per Peer Graceful Restart
Closed, ResolvedPublicFEATURE REQUEST


Currently, BGP graceful restart is only configurable at the global level from the VyOS cli:

eric@vyos# show protocols bgp
 local-as 65000
 parameters {
     graceful-restart {
         stalepath-time 120

Resulting FRR config:

router bgp 65000
 bgp graceful-restart stalepath-time 120

In some cases, it would be useful to allow different GR configurations per peer.

E.g., use GR on peer A who signals RTBH prefixes, but use BFD (without GR) on peer B who advertises a default.
We may want to maintain the blackholed prefixes from peer A, but quickly remove the default learned from the peer B in the event that we lose connectivity to both peers.

Proposed VyOS cli syntax:

set protocols bgp parameters graceful-restart stalepath-time 120 # existing
set protocols bgp neighbor graceful-restart # new 
set protocols bgp neighbor graceful-restart-disable # new

Desired FRR config:

router bgp 65000
 bgp graceful-restart stalepath-time 120
 ! ...
 neighbor graceful-restart
 ! ...
 neighbor graceful-restart-disable

Additional info:


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

c-po changed the task status from Open to In progress.Fri, Apr 30, 2:38 PM
c-po claimed this task.
c-po triaged this task as Low priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).