summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-09-13 19:13:25 +0200
committerGitHub <noreply@github.com>2023-09-13 19:13:25 +0200
commita8fecd96b9c3d6a0771f0761a6060d70bcc04bab (patch)
tree5d6e685bb4b4fc34fb457ac62efd182e1db576f5 /op-mode-definitions/show-ip.xml.in
parent1bc808742f554531ba5ef22c1d42e4ced5ba4595 (diff)
parent138e60831842ea9366655fde7acf929d8c9f645b (diff)
downloadvyos-1x-a8fecd96b9c3d6a0771f0761a6060d70bcc04bab.tar.gz
vyos-1x-a8fecd96b9c3d6a0771f0761a6060d70bcc04bab.zip
Merge pull request #2257 from c-po/t5581-ip-nht
op-mode: T5581: add "show ip nht" command (IPv4 nexthop tracking table)
Diffstat (limited to 'op-mode-definitions/show-ip.xml.in')
-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>