Diagnostics Analyze network traffic
IX20 User Guide
1105
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 bebe 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, isoption is set to false, which meansthat the filter will capture packets
from this MACaddress.
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 BPFsyntax.
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)>
b. Set the mode that will be used to run the capture filter:
(config network analyzer name)> when mode
(config network analyzer name)>
where modeisone of the following:
n
boot: The script will run once each time the device boots.
n
interval: The script will start running at the specified interval, within 30 seconds
after the configuration change is saved. If interval isselected, set the interval:
(config add network analyzer name)> on_interval value
(config add network analyzer name)>
where value is any number of weeks, days, hours, minutes, or seconds, and takes
the format number{w|d|h|m|s}.
For example, to set on_interval to ten minutes, enter either 10m or 600s: