Diagnostics Analyze network traffic
AnywhereUSB® Plus User Guide
489
n
source: The filter will apply to packets when the MACaddress is the source.
n
destination: The filter will apply to packets when the MAC address is the
destination.
n
either: The filter will apply to packets when the MACaddress is either the
source or the destination.
iv. (Optional) Set the filter should ignore packets from this port:
(config network analyzer name filter mac_address 0)> ignore true
(config network analyzer name filter mac_address 0)>
By default, is option is set to false, which means that the filter will capture packets
from this MAC address.
v. Repeat these steps to add additional MACaddresses.
e. To create a filter that either captures or ignores packets from one or more specified VLANs:
i. Add a new VLAN filter:
(config network analyzer name)> add filter vlan end
(config network analyzer name filter vlan 0)>
ii. Set the VLAN that should be be captured or ignored:
(config network analyzer name filter vlan 0)> vlan value
(config network analyzer name filter vlan 0)>
where value is number o the VLAN.
iii. (Optional) Set the filter should ignore packets from this VLAN:
(config network analyzer name filter vlan 0)> ignore true
(config network analyzer name filter vlan 0)>
By default, is option is set to false, which means that the filter will capture packets
from this MAC address.
iv. Repeat these steps to add additional VLANs.
f. To create a filter using Berkeley Packet Filter (BPF) syntax:
(config network analyzer name)> filter custom value
(config network analyzer name)>
where value is a filter using Berkeley Packet Filter (BPF) syntax. Values that contain spaces
must be enclosed in double quotes (").
See Example filters for capturing data traffic for examples of filters using BPF syntax.
6. (Optional) Schedule the analyzer to run, using this capture filter, based on a specified event or
at a particular time:
a. Enable scheduling for this capture filter:
(config network analyzer name)> schedule enable true
(config network analyzer name)>