Silly question here… lets say I want to look through the switch logs for anything in an EXOS switch pertaining to a specific port, say 3:4 in this example, I do a sh log | i 3:4
How do I get it to NOT show me other related things like port 3:45 link states / or port 3:40-whatever ish, or even just because in a time stamp there's a 3:4 together.
I tried the following
sh log | i 3:4 (space) then (enter)
sh log | i “3:4”
It still shows every occurrence even when there's more characters before or after the string I’m piping to the i command.
Best answer by OscarK
Just expand you filter a bit (mind the space after the port number between the quotes..
show log | include “Port 3:4 “