grep
2 TopicsF5 BIG-IP show filtering with grep problem
Issue related to the command (example lines): show sys log ltm | grep 2.2.2.2 looks like a bug in the version: ProductBIG-IP Version14.1.2.1 Build0.0.4 EditionPoint Release 1 I checked it with: show sys log ltm lines 5 which provides 5 lines from ltm log including IP addresses (example lines): 02-20 02:07:09 warning nwwyy11 tmm[172]: SSL Handshake failed for TCP 1.1.1.1:1246 -> 2.2.2.2:443 02-20 02:07:09 warning nwwyy11 tmm[172]: SSL Handshake failed for TCP 1.1.1.2:1236 -> 2.2.2.2:443 02-20 02:07:09 warning nwwyy11 tmm[172]: SSL Handshake failed for TCP 1.1.1.3:1236 -> 2.2.2.2:443 02-20 02:07:09 warning nwwyy11 tmm[172]: SSL Handshake failed for TCP 1.1.1.4:1236 -> 2.2.2.2:443 02-20 02:07:09 warning nwwyy11 tmm[172]: SSL Handshake failed for TCP 1.1.1.5:1236 -> 2.2.2.2:443 when I am using one of those IPs in the command: show sys log ltm | grep 2.2.2.2 returns nothing, no result. Of course, I tried: show sys log ltm | grep '2.2.2.2' show sys log ltm | grep "2.2.2.2" as well, does not work, shows nothing, returns no results. Other version: ProductBIG-IP Version14.1.0.6 Build0.0.9 EditionPoint Release 6 same commands, same inputs, works properly, shows results. Yes, bash may be used as a workaround, anyway, for troubleshooting, would be great for both environments to have proper results.1.8KViews0likes2Commentsusing grep to list all nodes with a specific intervall
Hi guys, I am trying to figure out how to display all nodes that have an interval not equal to "300". Example: list ltm node | grep -v "interval 300" -B 5 but this way it shows me all other lines that don't have "interval 300". Consequently ALL nodes but not the one line... I hope you can follow me. 😄 does anyone have an idea how I can do this better? Best regards Basti696Views0likes4Comments