diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-05 09:10:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-05 09:10:42 +0200 |
commit | 63b585e38dbbaf1b0a51375052a6898960d34130 (patch) | |
tree | 245410648fe2cecba7960ea5f0d7571f23217d55 /op-mode-definitions/reset-ip-bgp.xml.in | |
parent | 26506757c3d0354d6d42101dcccde5613a9b1182 (diff) | |
parent | 5881fb3d6184af5890c0df94a92f3cd27fa2c47d (diff) | |
download | vyos-1x-63b585e38dbbaf1b0a51375052a6898960d34130.tar.gz vyos-1x-63b585e38dbbaf1b0a51375052a6898960d34130.zip |
Merge pull request #1379 from sever-sever/T4494
bgp: T4494: Ability to reset bgp in VRF
Diffstat (limited to 'op-mode-definitions/reset-ip-bgp.xml.in')
-rw-r--r-- | op-mode-definitions/reset-ip-bgp.xml.in | 25 |
1 files changed, 25 insertions, 0 deletions
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 @@ </node> </children> </tagNode> + <tagNode name="vrf"> + <properties> + <help>Clear BGP statistics or status for vrf</help> + <completionHelp> + <path>vrf name</path> + </completionHelp> + </properties> + <children> + <leafNode name="all"> + <properties> + <help>Clear all BGP peering sessions for vrf</help> + </properties> + <command>vtysh -c "clear bgp vrf $5 *"</command> + </leafNode> + <leafNode name="node.tag"> + <properties> + <help>Clear BGP neighbor IP address</help> + <completionHelp> + <list><x.x.x.x></list> + </completionHelp> + </properties> + <command>vtysh -c "clear bgp vrf $5 $6"</command> + </leafNode> + </children> + </tagNode> </children> </node> <tagNode name="bgp"> |