Page MenuHomeVyOS Platform

Add reset ip bgp all soft in out
Closed, ResolvedPublicFEATURE REQUEST

Description

Summary

Add a feature to reset all BGP sessions without resetting TCP sessions
At the moment we do not have this option

vyos@r14:~$ reset ip bgp all 
Possible completions:
  <Enter>               Execute the current command

      
vyos@r14:~$ reset bgp ipv4 all 
Possible completions:
  <Enter>               Execute the current command

In the FRR:

r14# clear ip bgp * soft 
  <cr>
  in    Send route-refresh unless using 'soft-reconfiguration inbound'
  out   Resend all outbound updates
r14#
**Use case**

Reset soft BGP updates without restart BGP session

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

Viacheslav triaged this task as Normal priority.
Viacheslav changed the task status from Open to In progress.Sep 11 2025, 12:44 AM
Viacheslav assigned this task to L0crian.
vyos@r14:~$ reset ip bgp all
sudo: /usr/libexec/vyos/op_mode/reset_bgp.py: command not found
vyos@r14:~$ 
vyos@r14:~$ show ver
Version:          VyOS 2025.09.17-0018-rolling
Release train:    current
Release flavor:   generic

T7846

Looks like all of the calls to the script for the reset-ip-bgp.xml.in file are wrong. I originally was making a dedicated reset_bgp.py script before just incorporating it into bgp.py. I must have forgot to update those. I'll make a PR to fix it.

dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Unknown Object (User) closed this task as Resolved.Oct 10 2025, 10:35 AM
Unknown Object (User) moved this task from Open to Finished on the VyOS 1.5 Circinus (1.5-stream-2025-Q3) board.
Unknown Object (User) moved this task from Need Triage to Completed on the VyOS Rolling board.