summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-13 18:26:16 +0100
committerGitHub <noreply@github.com>2023-11-13 18:26:16 +0100
commit527928154c91693c9c21a17a3d609ce17cba9675 (patch)
treedb06d36cc891a73b026858394fdcc24f638334d6 /op-mode-definitions
parent8466d6cb8b8a153ba9060543227420b378b84db5 (diff)
parent2fc97aea3814265c4b7653dee945eacb1ee8cf49 (diff)
downloadvyos-1x-527928154c91693c9c21a17a3d609ce17cba9675.tar.gz
vyos-1x-527928154c91693c9c21a17a3d609ce17cba9675.zip
Merge pull request #2445 from c-po/sagitta
op-mode: bgp: T5698: add "es-vrf" and "next-hops" CLI commands (backport)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/include/bgp/show-bgp-common.xml.i16
1 files changed, 14 insertions, 2 deletions
diff --git a/op-mode-definitions/include/bgp/show-bgp-common.xml.i b/op-mode-definitions/include/bgp/show-bgp-common.xml.i
index de794a879..d888bc3b0 100644
--- a/op-mode-definitions/include/bgp/show-bgp-common.xml.i
+++ b/op-mode-definitions/include/bgp/show-bgp-common.xml.i
@@ -107,6 +107,12 @@
#include <include/vni-tagnode.xml.i>
</children>
</node>
+ <leafNode name="es-vrf">
+ <properties>
+ <help>Ethernet Segment per VRF</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
<leafNode name="import-rt">
<properties>
<help>Show import route target</help>
@@ -136,11 +142,17 @@
</leafNode>
</children>
</tagNode>
+ <leafNode name="next-hops">
+ <properties>
+ <help>EVPN Nexthops</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
<tagNode name="rd">
<properties>
- <help>Show detailed BGP neighbor information</help>
+ <help>Display information for a route distinguisher</help>
<completionHelp>
- <list>ASN:NN IPADDRESS:NN</list>
+ <list>ASN:NN IPADDRESS:NN all</list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>