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

Table of Contents

Advertisement

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

Saving tcpdump Results to a Local File

Generate a trace file by using
packet in a local file for later viewing with tcpdump. Use this feature to email
a copy of the
as listed in
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.
Note
The trace file grows very quickly if the network being viewed is busy.
Nokia recommends that you create the trace file on the /var partition.
The following command writes packet information to tracefile:
tcpdump -i eth-s1p1c0 -w /var/tmp/tracefile
Press Ctrl + C to end the capture and print the number of packets captured.
The following command returns all RIP traffic for that interface:
tcpdump -i eth-s1p1c0 -s 320 -vv port 520
Note
Port 520 is also the port used by UNIX workstations.
IP500 Series Installation Guide
All manuals and user guides at all-guides.com
tcpdump
results to the appropriate Nokia customer support site
tcpdump
"NOKIA CONTACT INFORMATION"
Saving tcpdump Results to a Local File
with the –w flag, which stores the
on page 3.
127

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ip530

Table of Contents