Page MenuHomeVyOS Platform

reset ip bgp <neighbor> allows reset bgp peer for ipv4, also it should exist one for ipv6
Open, LowPublic

Description

Currently it's not possible to reset an ipv6 bgp neighbor like its done for ipv4 bgp neighbors.

~$ reset ipv6 bgp

Invalid command: reset ipv6 [bgp]

~$ reset ip bgp
Possible completions:

<x.x.x.x>     BGP IPv4/IPv6 neighbor to clear
1-4294967295  Reset peers with the AS number

only shows ipv4 neighbors

as a workaround in my case, i use vtysh directly and do it there:

clear bgp 2001:db8::1

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202207220217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

aalmenar created this object in space S1 VyOS Public.
aalmenar updated the task description. (Show Details)
aalmenar changed Version from - to 1.4-rolling-202207220217.
aalmenar changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

@aalmenar try the next command

vyos@r14# run reset bgp ipv6 
Possible completions:
  <h:h:h:h:h:h:h:h>
                IPv6 neighbor to clear
  1-4294967295  Reset peers with the AS number
  all           Clear all peers
  external      Reset all external peers
  peer-group    Reset all members of peer-group

@Viacheslav yep that one works...

Should then normalize the commands and remove the one from ipv4 bgp ?

Unfortunately not all commands are present when using the bgp <afi> syntax. We should find the remaining ones and then move all to the new syntax - less confusing