f5:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| f5:start [2023-08-26 14:01] – dave | f5:start [2026-01-06 18:39] (current) – [Show TCP connections] dave | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== F5 ====== | ====== F5 ====== | ||
| Info related to F5 BIG-IP Load Balancers. | Info related to F5 BIG-IP Load Balancers. | ||
| - | FIXME - formating issues. | ||
| ---- | ---- | ||
| Line 12: | Line 11: | ||
| ====List pools that contain a member==== | ====List pools that contain a member==== | ||
| - | <pre>tmsh -q list ltm pool one-line | grep -E ' | + | <code>tmsh -q list ltm pool one-line | grep -E ' |
| Create node: | Create node: | ||
| - | <pre>create ltm node NODE_NAME address NODE_IPADDRESS monitor icmp | + | <code>create ltm node NODE_NAME address NODE_IPADDRESS monitor icmp |
| - | </pre> | + | </code> |
| Modify or create pool: | Modify or create pool: | ||
| - | <pre> | + | <code> |
| modify ltm pool POOL_NAME members add { NODE_NAME: | modify ltm pool POOL_NAME members add { NODE_NAME: | ||
| Line 24: | Line 23: | ||
| show ltm pool POOL_NAME | show ltm pool POOL_NAME | ||
| - | </pre> | + | </code> |
| ---- | ---- | ||
| ====Find the virtual servers using an SSL profile==== | ====Find the virtual servers using an SSL profile==== | ||
| - | <pre>tmsh list /ltm virtual / | + | <code>tmsh list /ltm virtual / |
| ltm virtual / | ltm virtual / | ||
| ltm virtual / | ltm virtual / | ||
| Line 41: | Line 40: | ||
| / | / | ||
| ltm virtual / | ltm virtual / | ||
| - | </pre> | + | </code> |
| The virtuals followed by the indented profile name are the ones using that profile.< | The virtuals followed by the indented profile name are the ones using that profile.< | ||
| **Note:** This can turn up other profiles that match, like the one named SSL_PROFILE_NAME_BONUS in the example. | **Note:** This can turn up other profiles that match, like the one named SSL_PROFILE_NAME_BONUS in the example. | ||
| Line 47: | Line 46: | ||
| ---- | ---- | ||
| ====Show TCP connections==== | ====Show TCP connections==== | ||
| - | [https:// | + | [[https:// |
| - | Show TCP connections to VS 1.2.3.4:<br /> | + | Show TCP connections to VS 1.2.3.4: |
| < | < | ||
| - | Show connections to a pool member on port 443:<br /> | + | Show connections to a pool member on port 443: |
| < | < | ||
| - | Count connections to a pool member:<br /> | + | Count connections to a pool member: |
| < | < | ||
| Line 65: | Line 64: | ||
| A command that F5 wanted run when a box had high CPU. | A command that F5 wanted run when a box had high CPU. | ||
| - | ps aux > ~/$(cat / | + | < |
| ==== SSL Troubleshooting ==== | ==== SSL Troubleshooting ==== | ||
| + | < | ||
| curl -k https:// | curl -k https:// | ||
| curl -iv https:// | curl -iv https:// | ||
| openssl s_client -connect URL_OR_IP: | openssl s_client -connect URL_OR_IP: | ||
| + | </ | ||
| ---- | ---- | ||
| Line 78: | Line 79: | ||
| http:// | http:// | ||
| - | <pre> | + | <code> |
| set var clock format [clock seconds] -format {%d-%m-%y: | set var clock format [clock seconds] -format {%d-%m-%y: | ||
| 11-08-14: | 11-08-14: | ||
| Line 84: | Line 85: | ||
| set var clock format [clock seconds] -format {%d/ | set var clock format [clock seconds] -format {%d/ | ||
| 11/ | 11/ | ||
| - | </pre> | + | </code> |
| - | Note: The second option is CLF (Common Log Format), which is used in [https:// | + | Note: The second option is CLF (Common Log Format), which is used in [[https:// |
| ====Displaying all IP addresses in the BIG-IP configuration==== | ====Displaying all IP addresses in the BIG-IP configuration==== | ||
| - | [https:// | + | [[https:// |
| show /sys ip-address | show /sys ip-address | ||
| show /sys ip-address all-properties | show /sys ip-address all-properties | ||
| Line 95: | Line 96: | ||
| ====Map from CLI==== | ====Map from CLI==== | ||
| List all the VS and Pool members in one command. It's not quite the Map but it's close enough. | List all the VS and Pool members in one command. It's not quite the Map but it's close enough. | ||
| - | <pre> | + | <code> |
| tmsh list ltm virtual all-properties one-line | perl -ne '($vs) = /ltm virtual (\S+)/; ($dest) = / destination (\S+)/; ($pool) = / pool (\S+)/; { print "$vs $dest $pool\n" | tmsh list ltm virtual all-properties one-line | perl -ne '($vs) = /ltm virtual (\S+)/; ($dest) = / destination (\S+)/; ($pool) = / pool (\S+)/; { print "$vs $dest $pool\n" | ||
| - | </pre> | + | </code> |
| + | |||
| + | ==== Show persistence records ==== | ||
| + | < | ||
| + | show ltm persistence persist-records pool POOL_NAME | ||
| + | </code> | ||
f5/start.1693058518.txt.gz · Last modified: by dave
