Subscribe to this post for new versions, improvements and bug fixes. Please post bugs in comments.
FUNCTIONS THAT ACCEPT ARGUMENTS
Enter function without argument for help and usage instructions.
FUNCTIONS THAT DO NOT ACCEPT ARGUMENTS (just hit return after function)
4.6-6.4: Various bug fixes. New f5dg function for cleanup of IPs from internal data-groups, saving hours of labor on large IP decommission efforts. The f5pl function now searches iRules as well as pools. You can use the f5pl function to find the iRules a pool belongs to, then use f5vs or f5vsi to find the virtual server based on that iRule. The process is similar to checking the box for "Search iRule Definition" in Network Map of the GUI. Removed the option in f5tcp to view abridged output while creating a .pcap file (Both mode), because it used a buffer that would frequently get overrun, causing the tcpdump to quit prematurely.
4.5: Important bug fixes related to pool output in f5vs, f5vsi, and f5old functions. Unnecessary pool details suppressed (only down and disabled statuses are listed).
4.4: f5log function improvements: checks all partitions; cleaner display; omits system rules
4.3: f5log function bug fix.
4.2: New function: f5log - list iRule names containing active log lines and those log lines
4.1: New function: f5grp INTERNAL DATA-GROUP ALLOWED-IP AUDIT: Useful to analyze lists that are growing out of control or auditing expired IPs. Creates a list of data-groups and their IP count (not including subnets). Then creates another file with lists of the individual IPs and their reverse DNS. File output: /var/tmp/data-group-ip-count... and /var/tmp/data-group-ip-lists... Files have tab-separated values and can be imported into a spreadsheet.
4.0: New function: f5con, which is gives realtime show sys connection information based on an argument like "cs-server-addr 10.0.0.2". It's a little like the f5tcp abridged tcpdump output, except that it uses tmsh show sys connection instead of tcpdump. This is really useful if you are trying to troubleshoot an environment but don't have permission to run a tcpdump command on the box. You can still get end-to-end traffic information in realtime. This update of the script also includes some minor bug fixes and improvements in documentation.
3.5: Made the p interface modifier optional in f5tcp (tcpdump).
3.4: Added cert file location to cert search results.
3.3: Added start/expiration dates to cert search results.
3.2: New function: f5crt - search certificates and list essential x509 attributes. Documentation fixes. Documentation of merge functions added.
3.1: Bug fixes, added functions, improved tcpdump, and detailed help and instructions for each function when using interactive mode.
2.1: You can now provide in-line arguments (in quotes) that are saved in bash history. Old argument method is still supported. Virtual Server details now include snat/automap info. Massively improved tcpdump functionality. New function, f5ip, allows you to search for a space-separated list of IPs throughout LTM, which is useful for node decommissions.
Appreciate this. Thanks!