F5 IMPORTANT COMMANDS
Below are the important F5 Command set for troubleshooting purpose, this document is only for internal user and
based on below troubleshooting scenarios we can follow this document as cheat sheet.
Listing LTM VIP details
Listing individual LTM VIP details
List LTM Pools
List LTM pools with specific pool name
Show network self IP details
listing routing table
verify all logs of LTM wrt to nodes/vip/etc
Grep specific alerts from LTM log files
Verifying connection for specific server
Verifying connection from specific Client Side-server address
Listing all interface all-properties in Chassis and vcmp
Curl command to verify health monitor string and other URL parameters
Different Sets of TCPdumps
To see the VIPs : list ltm virtual-address
To check the specific VIP: list ltm virtual-address <VIP VIP>
To check the Pools : list ltm pool
To check the Pools : list ltm pool <pool name>
To check the self IPs : show net self
To check the routing for specific : show net route lookup [Link]
To check the logs on the F5 (Default retention period is 9 days)
NOTE: DON’T CUT /COPY OR DELETE THESE FILES FROM F5 AS THESE ARE ALL SYSTEM FILES
To see the logs on console use this command: zcat [Link] | more | grep [Link]
To check the live connection on the F5: show sys connection | grep -i [Link]
Another method to check the connections : show sys connection cs-server-addr [Link]
Details of different options:
To check the interface status: show net interface all-properties (can use this command to get the
interfaces on chassis as well)
Curl command to check the health monitor status: curl -vk [Link]
Different sets of commands to take the tcpdump.
tcpdump -ni 0.0:nnn host [Link] -s 0 -v -w /var/tmp/[Link]
tcpdump -s0 -ni 0.0 host [Link] and host [Link]
tcpdump -s0 -nni 0.0:nnn host [Link] and host [Link] -w /var/tmp/[Link]
Converting p12 format to PEM format certificates.
In bash CLI
openssl pkcs12 –in /var/tmp/finessesand.p12 -out /var/tmp/[Link] –nodes
Note : Make sure to copy p12 format file to /var/tmp folder after conversion new pem file will be
available in /var/tmp folder
Copy required files to your machine and delete the files from F5.