summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-13 18:56:03 +0200
committerChristian Breunig <christian@breunig.cc>2023-09-13 18:56:28 +0200
commit138e60831842ea9366655fde7acf929d8c9f645b (patch)
tree5d6e685bb4b4fc34fb457ac62efd182e1db576f5 /op-mode-definitions
parent1bc808742f554531ba5ef22c1d42e4ced5ba4595 (diff)
downloadvyos-1x-138e60831842ea9366655fde7acf929d8c9f645b.tar.gz
vyos-1x-138e60831842ea9366655fde7acf929d8c9f645b.zip
op-mode: T5581: add "show ip nht" command (IPv4 nexthop tracking table)
vyos@vyos:~$ show ip nht 172.18.254.202 resolved via ospf via 172.18.201.254, eth0.201 (vrf default), weight 1 Client list: bgp(fd 28)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-ip.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ip.xml.in b/op-mode-definitions/show-ip.xml.in
index d5dbb7850..3caf1f1ea 100644
--- a/op-mode-definitions/show-ip.xml.in
+++ b/op-mode-definitions/show-ip.xml.in
@@ -33,6 +33,12 @@
</tagNode>
</children>
</node>
+ <leafNode name="nht">
+ <properties>
+ <help>Show IPv4 nexthop tracking table</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
</children>
</node>
</children>