Saving Tcpdump Results To A Local File - Nokia IP710 Series Installation Manual

Table of Contents

Advertisement

Chapter 9: Using tcpdump

Saving tcpdump Results to a Local File

150
All manuals and user guides at all-guides.com
tcpdump -i eth-s1p1c0 -s 320 -vv
To Specify an IP Address
tcpdump -i interface host IP-address
The following command returns only packets with the IP address
10.10.10.1:
tcpdump -i eth-sp1c0 host 10.10.10.1
Generate a trace file by using tcpdump with the –w flag, which stores the
packet in a local file for later viewing with tcpdump. Use this feature to
email a copy of the tcpdump results to the appropriate Nokia customer
support site as listed in the Nokia Contact Information section at the front
of this guide.
The –w flag copies the first 68 bytes of every packet, unless the capture
size is increased. For users running without data encryption, passwords
are stored in the file.
The file grows very quickly if the network being viewed is busy.
NOTE:
Nokia recommends that you create this file on the /var partition.
The following command writes packets information to tracefile:
tcpdump -i eth-s1p1c0 -w /var/tmp/tracefile
Press
C
–C
to end the capture and print the number of packets
ONTROL
captured.
The following command returns all RIP traffic for that interface:
tcpdump -i eth-s1p1c0 -s 320 -vv port 520
IP700 Series Installation Guide

Advertisement

Table of Contents
loading

Table of Contents