Example Filters For Capturing Data Traffic - Digi Connect IT 16 User Manual

Hide thumbs Also See for Connect IT 16:
Table of Contents

Advertisement

Diagnostics
(config network analyzer name)> save_interval 600s
(config network analyzer name)>
7. Save the configuration and apply the change:
(config)> save
Configuration saved.
>
8. Type exit to exit the Admin CLI.
Depending on your device configuration, you may be presented with an Access selection
menu. Type quit to disconnect from the device.

Example filters for capturing data traffic

The following are examples of filters using Berkeley Packet Filter (BPF) syntax for capturing several
types of network data. See
syntax.
Example IPv4 capture filters
Capture traffic to and from IP host 192.168.1.1:
n
ip host 192.168.1.1
Capture traffic from IP host 192.168.1.1:
n
ip src host 192.168.1.1
Capture traffic to IP host 192.168.1.1:
n
ip dst host 192.168.1.1
Capture traffic for a particular IP protocol:
n
ip proto protocol
where protocol is a number in the range of 1 to 255 or one of the following keywords: icmp,
icmp6, igmp, pim, ah, esp, vrrp, udp, or tcp.
Capture traffic to and from a TCP port 80:
n
ip proto tcp and port 80
Capture traffic to UDP port 53:
n
ip proto udp and dst port 53
Capture traffic from UDP port 53:
n
ip proto udp and src port 53
Capture to and from IP host 10.0.0.1 but filter out ports 22 and 80:
n
ip host 10.0.0.1 and not (port 22 or port 80)
Digi Connect IT® 16/48 User Guide
https://biot.com/capstats/bpf.html
Analyze network traffic
for detailed information about BPF
678

Advertisement

Table of Contents
loading

This manual is also suitable for:

Connect it 48

Table of Contents