summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-bgp.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-ip-bgp.xml.in')
-rw-r--r--op-mode-definitions/show-ip-bgp.xml.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/op-mode-definitions/show-ip-bgp.xml.in b/op-mode-definitions/show-ip-bgp.xml.in
index 4097bcf2d..ecef320bf 100644
--- a/op-mode-definitions/show-ip-bgp.xml.in
+++ b/op-mode-definitions/show-ip-bgp.xml.in
@@ -11,14 +11,21 @@
<command>vtysh -c "show ip bgp"</command>
<children>
#include <include/bgp/show-ip-bgp-common.xml.i>
+ <leafNode name="vrf">
+ <properties>
+ <help>Show BGP VRF information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
<tagNode name="vrf">
<properties>
- <help>Show bgp routing protocol for given VRF</help>
+ <help>Show BGP VRF related information</help>
<completionHelp>
<path>vrf name</path>
<list>all</list>
</completionHelp>
</properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
#include <include/bgp/show-ip-bgp-common.xml.i>
</children>