Filtering Traffic With Tcpdump - Nokia IP500 Series Installation Manual

Table of Contents

Advertisement

8
Troubleshooting
tcpdump -i eth-s2p3c0 proto igmp
To Specify an Interface Using a TCP/UDP Application Port
tcpdump -i interface port TCP/UDP-application-port
The following command returns Telnet traffic:
tcpdump -i eth-s1p1c0 port telnet
The following command also returns Telnet traffic:
tcpdump -i eth-s1p1c0 port 23
To Specify an IP or UDP Port
tcpdump -i interface <ip | udp> TCP/
UDP-application-port
The following command returns all bootp and dhcp traffic:
tcpdump -i eth-s2p1c0 udp port 68

Filtering Traffic with tcpdump

To Exclude Specific Types of Traffic
tcpdump -i interface <ip | udp> not
TCP/UDP-application-port
The following command returns internet traffic for all ports other than
port 80:
tcpdump -i eth-s1p1c0 not port 80
To Delimit the Size of the Packet
tcpdump -i interface -s packet-size -vv
The following command returns 320 bytes of the packet:
tcpdump -i eth-s1p1c0 -s 320 -vv
126
All manuals and user guides at all-guides.com
IP500 Series Installation Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ip530

Table of Contents