diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-10 13:01:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-10 13:01:14 +0100 |
commit | 684b30a16c61d6ba90b4701aff2409365c39a9d2 (patch) | |
tree | b5415010ab6aeb8db07bd77cf63b17061b371662 | |
parent | 284820582938f7250241fe604fbb68efc3a55790 (diff) | |
parent | 4cdf1386840ed2524b38bdc9d6fd19f4c423b827 (diff) | |
download | vyos-1x-684b30a16c61d6ba90b4701aff2409365c39a9d2.tar.gz vyos-1x-684b30a16c61d6ba90b4701aff2409365c39a9d2.zip |
Merge pull request #1880 from ichdasich/add_bgp_nexthop_to_vrf
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> |