Tcpdump For A Specific Protocol On An Interface; Tcpdump For An Interface Using A Tcp/Udp Application Port; Specifying Ip Or Udp Port; Filtering Traffic With Tcpdump - Nokia IP100 Series Installation Manual

Table of Contents

Advertisement

Filtering Traffic with
IP100 Series Installation Guide
for a specific protocol on an interface
tcpdump
tcpdump -i logical interface name proto protocol
The following example command shows OSPF traffic:
tcpdump -i eth-s2p3c0 proto ospf
The following example command shows IGRP traffic:
tcpdump -i eth-s2p1c0 proto igrp
for an Interface Using a TCP/UDP Application Port
tcpdump
tcpdump -i logical interface name port TCP/UDP
application port
The following example command shows telnet traffic:
tcpdump -i eth-s1p1c0 port telnet
The following example command also shows telnet traffic:
tcpdump -i eth-s1p1c0 port 23

Specifying IP or UDP Port

tcpdump -i logical interface name < ip or udp > TCP/
UDP application port
The following example shows all BOOTP/DHCP traffic:
tcpdump -i eth-s2p1c0 udp port 68

Hiding Specific Types of Traffic

tcpdump -i logical interface name < ip or udp > not
TCP/UDP application port
tcpdump
Using tcpdump
85

Advertisement

Table of Contents
loading

Table of Contents