--- title: "tcpdump" slug: "cli-sc-tcpdump" updated: 2025-07-02T04:50:59Z published: 2025-09-03T14:11:33Z canonical: "docs.crossworkassurance.cisco.com/cli-sc-tcpdump" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # tcpdump ## 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} } | {port } | {output {filename {capture_1 | capture_2} | stdout}} | {filter } | {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 [pcap-filter documentation](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 }://[:@] } ``` ## 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](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)