Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BGP: Add equivalent of "clear ip bgp [neighbor] [in | out | soft]" #331

Open
taspelund opened this issue Aug 13, 2024 · 0 comments · May be fixed by #401
Open

BGP: Add equivalent of "clear ip bgp [neighbor] [in | out | soft]" #331

taspelund opened this issue Aug 13, 2024 · 0 comments · May be fixed by #401
Assignees
Labels
bgp Border Gateway Protocol want

Comments

@taspelund
Copy link
Contributor

Add ability to administratively "clear" BGP neighbor sessions.

There should be options to do the following:

  1. Inbound: send route-refresh to peer (if negotiated via capabilities) or re-process adj-rib-in (if we eventually implement that)
  2. Outbound: trigger update to peer containing all currently advertised routes
  3. Hard/Force: send BGP Notification message (with subcodes admin shutdown) to reset the BGP/TCP session
@taspelund taspelund added the bgp Border Gateway Protocol label Aug 13, 2024
taspelund added a commit that referenced this issue Oct 26, 2024
Adds mgd API and mgadm CLI for BGP neighbor reset:
 - Hard (full reset of session)
 - SoftInbound (send Route Refresh to peer)
 - SoftOutbound (re-send RIB to peer)

Fixes: #331

Signed-off-by: Trey Aspelund <trey@oxidecomputer.com>
@taspelund taspelund linked a pull request Oct 26, 2024 that will close this issue
@taspelund taspelund self-assigned this Oct 26, 2024
@taspelund taspelund added the want label Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bgp Border Gateway Protocol want
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant