summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-14 18:01:36 +0300
committerGitHub <noreply@github.com>2023-09-14 18:01:36 +0300
commit3227ab936c6e62ffc59147c590c34760174bfb67 (patch)
treeba0178d1b38ab5240a9535362d8e7271cff1dc43
parentd43770709b0f398dda9e846abade594e892dbe5a (diff)
parentde70690fb9b6378a305317d225ea874395b23a9f (diff)
downloadvyos-1x-3227ab936c6e62ffc59147c590c34760174bfb67.tar.gz
vyos-1x-3227ab936c6e62ffc59147c590c34760174bfb67.zip
Merge pull request #2258 from vyos/mergify/bp/sagitta/pr-2257
op-mode: T5581: add "show ip nht" command (IPv4 nexthop tracking table) (backport #2257)
-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>