Amer Networks E5Web GUI User Manual
Page 108
At this point, the file cap_lan.cap should be downloaded to the management workstation for
analysis.
5. A final cleanup is performed and all memory taken is released.
Device:/> pcapdump -cleanup
Re-using Capture Files
Since the only way to delete files from the Clavister Security Gateway is through the serial
console, the recommendation is to always use the same filename when using the pcapdump
-write option. Each new write operation will then overwrite the old file.
Running on Multiple Interfaces
It is possible to have multiple pcapdump executions being performed at the same time. The
following points describe this feature:
1.
All capture from all executions goes to the same memory buffer.
The command can be launched multiple times with different interfaces specified. In this
case the packet flow for the different executions will be grouped together in different
sections of the report.
If a clearer picture of packets flowing between interfaces is required in the output then it is
best to issue one pcapdump command with the interfaces of interest specified.
2.
If no interface is specified then the capture is done on all interfaces.
3.
The -stop option without an interface specified will halt capture on all interfaces.
4.
pcapdump prevents capture running more than once on the same interface by detecting
command duplication.
Filter Expressions
Seeing all packets passing through a particular interface often provides an excess of information
to be useful. To focus on particular types of traffic the pcapdump command has the option to add
a filter expression which has one of the following forms:
-eth=
-ethsrc=
-ethdest=
-ip=
-ipsrc=
-ipdest=
-port=
-srcport=
-destport=
-proto=
-
one of -tcp, -udp or -icmp.
Downloading the Output File
As shown in one of the examples above, the -write option of pcapdump can save buffered packet
Chapter 2: Management and Maintenance
108