Useful CLI Commands for troubleshooting F5 LTM

Hi Experts…I am a new bie to LTM CLI..can you please share the commands frequently used for troubleshooting,health status checking…etc…

I would suggest looking at the ltm logs (and apm logs if using the access policy manager module, as well any other modules you’re using). One of the best commands I use all the time is

tail -f /var/log/ltm

. This will show the last 10 log entries of the ltm log file and will ‘follow’ any changes, showing them on the screen whenever they are added.

tcpdump

is also a very useful tool for troubleshooting network traffic between clients, F5 devices, and backend machines. SOL411: Overview of packet tracing with tcpdump. If you’re using HTTPS instead of HTTP, you may need to use

ssldump

as well to decrypt the captures from the tcpdump. SOL10209: Overview of packet tracing with ssldump.