diff options
author | jack9603301 <jack9603301@163.com> | 2020-08-10 21:41:43 +0800 |
---|---|---|
committer | jack9603301 <jack9603301@163.com> | 2020-08-10 21:41:43 +0800 |
commit | b39c21af1de08f87cc5c9131ae4f9afc4e9759a5 (patch) | |
tree | bc98ceec74c202cbe22823c00e78c8eb0b146a17 | |
parent | 909152a69e0844ad0cdd2b05467cd7fe379a5347 (diff) | |
download | vyos-1x-b39c21af1de08f87cc5c9131ae4f9afc4e9759a5.tar.gz vyos-1x-b39c21af1de08f87cc5c9131ae4f9afc4e9759a5.zip |
tcptraceroute: T2723: Support VRF
-rw-r--r-- | op-mode-definitions/traceroute.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/op-mode-definitions/traceroute.xml b/op-mode-definitions/traceroute.xml index b562eb2e6..640f0b90c 100644 --- a/op-mode-definitions/traceroute.xml +++ b/op-mode-definitions/traceroute.xml @@ -98,6 +98,24 @@ </completionHelp> </properties> <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -4 "$5"</command> + <children> + <node name="tcp"> + <properties> + <help>Route tracing and port detection using TCP</help> + </properties> + <children> + <tagNode name="port"> + <properties> + <help>Perform operations on TCP ports</help> + <completionHelp> + <list>0-65535</list> + </completionHelp> + </properties> + <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute "$5" $8</command> + </tagNode> + </children> + </node> + </children> </tagNode> <tagNode name="ipv6"> <properties> @@ -107,6 +125,24 @@ </completionHelp> </properties> <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -6 "$5"</command> + <children> + <node name="tcp"> + <properties> + <help>Use TCP/IPv6 packets to perform a traceroute</help> + </properties> + <children> + <tagNode name="port"> + <properties> + <help>Perform operations on TCP ports</help> + <completionHelp> + <list>0-65535</list> + </completionHelp> + </properties> + <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" $8</command> + </tagNode> + </children> + </node> + </children> </tagNode> </children> </tagNode> |