aldowski
Feb 27, 2020Nimbostratus
F5 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:
Product BIG-IP
Version 14.1.2.1
Build 0.0.4
Edition Point 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:
Product BIG-IP
Version 14.1.0.6
Build 0.0.9
Edition Point 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.