f5:start
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
f5:start [2023-08-26 14:01] – created dave | f5:start [2023-08-26 14:13] (current) – dave | ||
---|---|---|---|
Line 6: | Line 6: | ||
====Disable paging==== | ====Disable paging==== | ||
- | For a single command you can use < | + | For a single command you can use '' |
- | For a permanent change use < | + | For a permanent change use '' |
====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 23: | 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 40: | 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 46: | Line 46: | ||
---- | ---- | ||
====Show TCP connections==== | ====Show TCP connections==== | ||
- | [https:// | + | [[https:// |
Show TCP connections to VS 1.2.3.4:< | Show TCP connections to VS 1.2.3.4:< | ||
Line 64: | 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 77: | 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 83: | 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 94: | 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> |
f5/start.1693058468.txt.gz · Last modified: 2023-08-26 14:01 by dave