From 5881fb3d6184af5890c0df94a92f3cd27fa2c47d Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 29 Jun 2022 15:44:54 +0000 Subject: bgp: T4494: Ability to reset bgp in VRF reset ip bgp vrf foo 192.0.2.2 --- op-mode-definitions/reset-ip-bgp.xml.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/reset-ip-bgp.xml.in b/op-mode-definitions/reset-ip-bgp.xml.in index 931a2a9bc..913d76666 100644 --- a/op-mode-definitions/reset-ip-bgp.xml.in +++ b/op-mode-definitions/reset-ip-bgp.xml.in @@ -143,6 +143,31 @@ + + + Clear BGP statistics or status for vrf + + vrf name + + + + + + Clear all BGP peering sessions for vrf + + vtysh -c "clear bgp vrf $5 *" + + + + Clear BGP neighbor IP address + + <x.x.x.x> + + + vtysh -c "clear bgp vrf $5 $6" + + + -- cgit v1.2.3