summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Fiebig <tobias+git@fiebig.nl>2023-03-08 21:23:16 +0100
committerTobias Fiebig <tobias+git@fiebig.nl>2023-03-09 15:05:35 +0100
commit4cdf1386840ed2524b38bdc9d6fd19f4c423b827 (patch)
tree482eeb33ccba83463513fa6a151b1f743bccbc2a
parentcb872efb5b8dac9c9095502bbb14e858d07dfef3 (diff)
downloadvyos-1x-4cdf1386840ed2524b38bdc9d6fd19f4c423b827.tar.gz
vyos-1x-4cdf1386840ed2524b38bdc9d6fd19f4c423b827.zip
T5070: Added show bgp martian/show bgp nexthop to bgp in vrf
-rw-r--r--op-mode-definitions/show-bgp.xml.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/op-mode-definitions/show-bgp.xml.in b/op-mode-definitions/show-bgp.xml.in
index c33a9dacf..378ae47f0 100644
--- a/op-mode-definitions/show-bgp.xml.in
+++ b/op-mode-definitions/show-bgp.xml.in
@@ -100,6 +100,40 @@
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
#include <include/bgp/show-bgp-common.xml.i>
+ <node name="martian">
+ <properties>
+ <help>martian next-hops</help>
+ </properties>
+ <children>
+ <leafNode name="next-hop">
+ <properties>
+ <help>martian next-hop database</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ </children>
+ </node>
+ <node name="nexthop">
+ <properties>
+ <help>Show BGP nexthop table</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ #include <include/vtysh-generic-detail.xml.i>
+ </children>
+ </node>
+ <tagNode name="nexthop">
+ <properties>
+ <help>IPv4/IPv6 nexthop address</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt; &lt;h:h:h:h:h:h:h:h&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ #include <include/vtysh-generic-detail.xml.i>
+ </children>
+ </tagNode>
</children>
</tagNode>
#include <include/vtysh-generic-wide.xml.i>