--- title: "Capture packets from Sensor CLI" slug: "capture-packets-from-sensor-cli" tags: ["Product Usage", "IPS 10.1.10"] updated: 2026-10-05T15:40:13Z published: 2026-10-05T15:40:13Z canonical: "docs.trellix.com/capture-packets-from-sensor-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Capture packets from Sensor CLI You can capture incoming and outgoing packets in NS9500, NS9x00, NS7500, NS7x50, NS7x00, NS5x00, NS3500, NS3x00 Series, and Virtual IPS Sensors from the Sensor CLI. The following CLI commands are available in the Sensors that allow you to capture packets: > [!NOTE] > Note > > Capturing of jumbo packet frames from the Sensor CLI is not supported in both port mode and file mode. > [!NOTE] > Note > > The CLI commands mentioned are applicable only when packet capture is configured in file mode. - pktcapture intfport - pktcapture intfport-pair - pktcapture stack-node - pktcapturefile (Discard or upload captured packets to the Manager or SCP server based on the configuration.) To capture packets continuously, the following CLI commands are available: - pktcapture-circular intfport - pktcapture-circular intfport-pair - pktcapture-circular stack-node To debug various integration or connectivity issues on the management port, the CLI command pktcapture mgmt is available. > [!NOTE] > Note > > The packet capture feature is mainly for troubleshooting purposes. Trellix recommends you enable it for a limited period with appropriate supervision. > [!NOTE] > Note > > Trellix recommends that you ensure appropriate filters are applied when enabling packet capture. Otherwise, this can affect the Sensor performance. These CLI commands allow you to capture packets from the Sensor CLI on an ad-hoc basis. The commands use the configuration in the Manager to determine if the captured packets should be sent to the Manager or to an SCP server. If you have configured the Manager to send captured packets to a SPAN port, you cannot capture packets by using these commands. > [!NOTE] > Note > > If the Manager is in the process of capturing packets and at the same time you run this command from the Sensor CLI, the Sensor will display a message that a packet capture process is already running. Similarly, if you have started packet capture from the CLI, the Manager displays the packet capture **Status** as **Running**. In the Manager, you cannot stop a packet capture session that is started in the CLI and vice-versa. As a best practice, you should start and stop a packet capture session from the same place; either from the CLI or from the Manager. For more information on the CLI commands, see [IPS CLI Commands - Normal Mode](/network-and-platform/docs/ips-cli-commands-normal-mode).