v9 and v10 Bigpipe: Command Reference: F5
v9 and v10 Bigpipe: Command Reference: F5
v9 and v10 Bigpipe: Command Reference: F5
F5 is a vendor that provides various types of traffic engineering productions such as Application Load
Balancing, DNS Load balancing, SSL VPN, etc. etc.
One of the things I find useful is keeping reference of certain commands that help me with my day to day
adminstration.
Shell
qkview - Get's a diagnostics view of the entire load balancers - used
for Troubleshooting
bigtop -n All vips and nodes and to see which traffic is going where
Packet Analysis
tcpdump ni host - This is to view on the console
tcpdump ni -s1600 host -w /var/tmp/test.cap - This is to capture to
a file
TMSH v10 or up
You need to enter tmsh at the CLI to get into TMSH shell
show sys version detail – view system version and hotfix detailed
information
show sys version – view system version and hotfix summary information
show sys ha-status - Displays the settings and status for high
availability on a system.
SUPPORT COMMANDS
SCP to transfer a file, perform the following steps:
where :
local_filename is the name of the file you want to transfer.
username is is the name of a valid user account on the server to which you want to transfer the
file.
server is theis the IP address of the server to which you want to transfer the file.
remote_filename is the full pathname that you want to name the file on the system to which you
are transferring the file.
Example
scp -p myfile.bin root@10.90.101.50:/var/tmp/myfile.bin
--------------------
SNMP
How to look at each Virtual IP address's Maximum Connection
snmpwalk -c l0cal 127.0.0.1 F5-BIGIP-LOCAL-MIB::ltmVirtualAddrStatClientMaxConns|awk -F:
'$4 > 2000'
Show all VIP addresses with MAX Conns greater than 200
snmpwalk -c l0cal 127.0.0.1 F5-BIGIP-LOCAL-MIB::ltmVirtualAddrStatClientMaxConns|awk -F:
'{if($4 > 200) print }'
Show all VIP addresses with Curr Conns greater than 200
Leave out the awk -F: '{if($4 > 200) print }' to see all VIP addresses
NOTE: Make sure that the F5 can accept SNMP requests from the local loopback