100% found this document useful (1 vote)
2K views5 pages

F5 Troubleshooting Commands

This document provides important F5 commands for troubleshooting, organized by task. It lists commands to view VIP, pool, routing, and connection details, check logs and health monitors, take tcpdumps, and convert certificate formats. The commands are intended as a cheat sheet for internal users to troubleshoot scenarios by following the documented tasks and commands.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views5 pages

F5 Troubleshooting Commands

This document provides important F5 commands for troubleshooting, organized by task. It lists commands to view VIP, pool, routing, and connection details, check logs and health monitors, take tcpdumps, and convert certificate formats. The commands are intended as a cheat sheet for internal users to troubleshoot scenarios by following the documented tasks and commands.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

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 10.119.251.1
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 ltm.1.gz | more | grep 10.118.144.32

To check the live connection on the F5: show sys connection | grep -i 10.119.16.60

Another method to check the connections : show sys connection cs-server-addr 10.119.16.60
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 http://10.118.192.74/Probe/HealthMonitor
Different sets of commands to take the tcpdump.

tcpdump -ni 0.0:nnn host 10.119.251.1    -s 0 -v -w /var/tmp/test.pcap

tcpdump -s0 -ni 0.0 host 10.114.192.29 and host 10.115.148.21

tcpdump -s0 -nni 0.0:nnn host 10.114.192.29 and host 10.114.192.35 -w /var/tmp/test.pcap

Converting p12 format to PEM format certificates.

In bash CLI

openssl pkcs12 –in /var/tmp/finessesand.p12 -out /var/tmp/finessesandnew.pem –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.

You might also like