tcpdump
tcpdump - Capture and analyze traffic sent or received on a network interface.
Description:
Capture and displays the contents of packets sent or received on a network interface.
Syntax:
tcpdump {{show} |
{export filename {capture_1 | capture_2} <url>} |
{port <port-name>} |
{output {filename {capture_1 | capture_2} | stdout}} |
{filter <string>} |
{timeout <0-300>}}
Parameters:
| Parameter | Description |
|---|---|
| show | List all captured files. |
| export | Export captured files to a specific URL. Only scp:// and sftp:// protocols are supported. |
| port | Network interface to capture. |
| output | Option to dump packet data to stdout or save to pcap files. |
| filter | Only capturing the packets that match that filter expression. Refer to https://www.tcpdump.org/manpages/pcap-filter.7.html. |
| timeout | Option to configure the packet capture time. A value of 0 means to capture continuously. |
tcpdump export
tcpdump export - Export captured PCAP files
Description:
Export captured files to a specific url. Only scp:// and sftp:// protocols are supported.
Syntax:
tcpdump { export filename { capture_1 | capture_2 }
{ scp | sftp }://[<user-name>:<password>@]<url> }
tcpdump show
tcpdump show - Show all captured PCAP files
Description:
Show all captured PCAP files.
Syntax:
tcpdump show
© 2026 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and trademarks