From d6f330894a681be9100dea638221ecad72452e2c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 1 May 2020 10:04:07 +0200 Subject: op-mode: traceroute: T2129: migrate to top level tagNode --- op-mode-definitions/traceroute.xml | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) (limited to 'op-mode-definitions/traceroute.xml') diff --git a/op-mode-definitions/traceroute.xml b/op-mode-definitions/traceroute.xml index d623fe103..43fba3cdd 100644 --- a/op-mode-definitions/traceroute.xml +++ b/op-mode-definitions/traceroute.xml @@ -1,22 +1,19 @@ - + Track network path to node + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + /usr/bin/traceroute $2 + + - - - Track network path to specified node - - <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> - - - /usr/bin/traceroute $2 - - Track network path to <hostname|IPv4 address> + Explicitly use IPv4 when tracing the path <hostname> <x.x.x.x> @@ -25,7 +22,7 @@ - Track network path to <hostname|IPv6 address> + Explicitly use IPv6 when tracing the path <hostname> <h:h:h:h:h:h:h:h> @@ -40,32 +37,34 @@ + - Track network path to specified node + Track network path to specified node via given VRF instance <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> - sudo ip vrf exec "$3" traceroute "$4" + sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute "$4" - Track network path to <hostname|IPv4 address> + Explicitly use IPv4 when tracing the path via given VRF <hostname> <x.x.x.x> - sudo ip vrf exec "$3" traceroute -4 "$5" + sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -4 "$5" - Track network path to <hostname|IPv6 address> + Explicitly use IPv6 when tracing the path via given VRF <hostname> <h:h:h:h:h:h:h:h> - sudo ip vrf exec "$3" traceroute -6 "$5" + sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -6 "$5" -- cgit v1.2.3