Command line `help tcpdump` does not show the correct usage information for the tcpdump command
search cancel

Command line `help tcpdump` does not show the correct usage information for the tcpdump command

book

Article ID: 204566

calendar_today

Updated On:

Products

Messaging Gateway

Issue/Introduction

A restricted implementation of the tcpdump command has been added to the Messaging Gateway (SMG) command line interface (CLI) but running "help tcpdump" does not display the correct usage for the tcpdump command. Instead, the default linux man page for tcpdump is displayed.

Resolution

Usage for the SMG admin CLI tcpdump command:

tcpdump [ --port port ] [ --ip ip_addr ]  [ --output output_file_name ]

--port, --ip, and --output are the only allowed options.

Example:

tcpdump --port 25 smtp.pcap