Example: Sampling All Traffic from a Single IP Address
The following configuration gathers statistical information about every packet entering the router on a specific Gigabit Ethernet port originating from a single source IP address of 10.45.92.31, and collects it in a file named samples-10-45-92-31.txt.
Create the filter:
Apply the filter to the Gigabit Ethernet interface:
Finally, gather statistics on all the candidate samples; in this case, gather all statistics: