Forum Discussion
Kai_Wilke
Nov 28, 2022MVP
Hi T0nyP,
you need to start a SSH connection to your LTM using either the build-in "root" account or a custom user account with "advanced shell" permissions.
Then you could issue either a "PING" or "TRACEROUTE" command. To specifiy a source IP your have to use the command line switches outlined in the sample below:
[itacs@kw-f5-dev:Active:Standalone] ~ # traceroute -s 10.0.0.1 8.8.8.8
[itacs@kw-f5-dev:Active:Standalone] ~ # ping -I 10.0.0.1 8.8.8.8
To understand the valid command line options of those commands you can read the man pages of the command via:
[itacs@kw-f5-dev:Active:Standalone] ~ # man ping
[itacs@kw-f5-dev:Active:Standalone] ~ # man traceroute
Special Note: If you are working with route domains you may need to prefix the "ping" or "traceroute" command with the "rdexec" command. See the samples below how to execute command for e.g. Route-Domain 20:
[itacs@kw-f5-dev:Active:Standalone] ~ # rdexec 20 traceroute -s 10.0.0.1 8.8.8.8
[itacs@kw-f5-dev:Active:Standalone] ~ # rdexec 20 ping -I 10.0.0.1 8.8.8.8
Cheers, Kai