cancel
Showing results for 
Search instead for 
Did you mean: 

Filter on multiple includes / excludes

Filter on multiple includes / excludes

Anonymous
Not applicable
Is there anyway to filter on multiple excludes / includes.

As an example I have ACL logging enabled and I am trying to filter the log to exclude on certain ports, so as an example of some of the things I have tried that don't work are:

show log | exclude 137,139,138,14128,1512

show log | exclude (137)(139)(138)(14128)(1512)

show log | exclude (137),(139),(138),(14128),(1512)

show log | exclude 137 | exclude 138

Thanks in advance.

2 REPLIES 2

Anonymous
Not applicable
Brilliant, that's seems to have worked. Thanks

OscarK
Extreme Employee
Behind the exclude is an regex statement.
So the following should work:

show log | exclude (137|138|139|14128|1512)

GTM-P2G8KFN