Capture Packets From The Command Line - Digi IX40 User Manual

Table of Contents

Advertisement

Diagnostics
n
Capture traffic to and from a TCP port 80:
ip proto tcp and port 80
n
Capture traffic to UDP port 53:
ip proto udp and dst port 53
n
Capture traffic from UDP port 53:
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)
Example Ethernet capture filters
Capture Ethernet packets to and from a host with a MACaddress of 00:40:D0:13:35:36:
n
ether host 00:40:D0:13:35:36
n
Capture Ethernet packets from host 00:40:D0:13:35:36:
ether src 00:40:D0:13:35:36:
n
Capture Ethernet packets to host 00:40:D0:13:35:36:
ether dst 00:40:D0:13:35:36

Capture packets from the command line

You can start packet capture at the command line with the
can schedule the network analyzer to run based on a specified event or at a particular time. See
Configure packet capture for the network analyzer
Additional analyzer commands allow you to:
Stop capturing
n
Save captured data traffic to a
n
Clear captured
n
Required configuration items
n
A configured packet capture. See
capture configuration information.
To start packet capture from the command line:
Command line
1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX40
local command line as a user with full Admin access rights.
IX40 User Guide
packets.
file.
data.
Configure packet capture for the network analyzer
analyzer start
command. Alternatively, you
for information about scheduling packet capturing.
Analyze network traffic
for packet
947

Advertisement

Table of Contents
loading

Table of Contents