diff options
author | Tobias Fiebig <tobias+git@fiebig.nl> | 2023-03-08 21:23:16 +0100 |
---|---|---|
committer | Tobias Fiebig <tobias+git@fiebig.nl> | 2023-03-09 15:05:35 +0100 |
commit | 4cdf1386840ed2524b38bdc9d6fd19f4c423b827 (patch) | |
tree | 482eeb33ccba83463513fa6a151b1f743bccbc2a | |
parent | cb872efb5b8dac9c9095502bbb14e858d07dfef3 (diff) | |
download | vyos-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.in | 34 |
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><x.x.x.x> <h:h:h:h:h:h:h:h></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> |