Sniffer® Portable Professional User's Guide - NetScout
Sniffer® Portable Professional User's Guide - NetScout
Sniffer® Portable Professional User's Guide - NetScout
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 8<br />
176 Sniffer <strong>Portable</strong> <strong>Professional</strong><br />
Single filter mode functions as a regular, single filter. With<br />
the Single Filter Mode option, you are limited to only one<br />
filter selection in the Select Filter dialog box. Selecting one<br />
filter automatically deselects the previously selected filter.<br />
Selecting a “parent” filter is not a valid filter. You must<br />
specify a single filter within the parent grouping.<br />
3 Use the Select matching, Clear selected, and Apply on<br />
selected set options to specify how the display filter will be applied<br />
and its results returned. See Filtered Tabs or Marked Frames? on<br />
page 171 and The “Apply on Selected Set” Option on page 171 for<br />
more information.<br />
4 Click OK to apply the selected filter(s) on the active Decode tab.<br />
Multiple Filter Mode and Exclude Filters<br />
When combining multiple filters in Multiple Filter Mode, Sniffer <strong>Portable</strong><br />
<strong>Professional</strong> joins the filter with a logical OR rather than an AND.<br />
Because of this, joining multiple Exclude filters will always result in ALL<br />
packets passing the filter and being returned. Consider the following<br />
examples:<br />
Combing Include Filters in Multiple Filter Mode<br />
For example, suppose you set up the following filters:<br />
Filter 1 includes all packets of type A<br />
Filter 2 includes all packets of type B<br />
Combining these filters in Multiple Filter Mode and applying them to a<br />
trace file with packets of type A,B and C, will result in a filtered display<br />
with just packets of Type A and B.<br />
Combing Exclude Filters in Multiple Filter Mode<br />
Now, let’s apply the same logic to Exclude filters:<br />
Filter 1 excludes all packets of type A<br />
Filter 2 excludes all packets of type B<br />
Combining these filters in Multiple Filter Mode and applying them to a<br />
trace file with packets of type A,B and C, will result in a filtered display<br />
with packets of Type A, B, and C – all packets will pass the filter.<br />
This happens because the Exclude filters are joined with an OR condition<br />
between the filters. For a packet to be excluded from the filtered display,<br />
both the conditions must return FALSE. If even one condition returns<br />
TRUE, the packet gets included.