diff options
author | Christian Breunig <christian@breunig.cc> | 2023-09-13 18:56:03 +0200 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-13 17:13:55 +0000 |
commit | de70690fb9b6378a305317d225ea874395b23a9f (patch) | |
tree | 32e05b2049e0b251def0177b20c5c93c87cff8bc | |
parent | 3d9a0b02d031a97b099ef6fe4ba07d7ce7eb958e (diff) | |
download | vyos-1x-de70690fb9b6378a305317d225ea874395b23a9f.tar.gz vyos-1x-de70690fb9b6378a305317d225ea874395b23a9f.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)
(cherry picked from commit 138e60831842ea9366655fde7acf929d8c9f645b)
-rw-r--r-- | op-mode-definitions/show-ip.xml.in | 6 |
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> |