--- title: "pktcapture-circular stack-node" slug: "pktcapture-circular-stack-node-3" tags: ["Product Usage", "IPS 11.1.x"] updated: 2026-11-19T12:29:52Z published: 2026-11-19T12:29:52Z canonical: "docs.trellix.com/pktcapture-circular-stack-node-3" --- > ## 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. # pktcapture-circular stack-node This command continuously captures packets of a NS9500 and NS9600 Sensors configured in stack mode in a circular fashion until stopped. Based on the Sensor configuration, you can capture packets on a single port or in port pair. The packets are captured by the circular buffer. The buffer size for NS9500 stack is 100MB. On reaching the end of the buffer, the oldest or starting packets in buffer are overwritten till the circular packet capture is stopped forcefully. The captured packets are saved in the `/tftpboot/capture.pcap` file on the Sensor. The saved file is sent to the Manager. > [!NOTE] > Note > > If you have configured the Manager to send captured packets to a SPAN port, you cannot capture packets by using this command. **Syntax** **To capture packets on a single port:** `pktcapture-circular stack-node <stack_node_value> intfport <monitoring_port> <filter>` | Parameter | Description | | --- | --- | | stack_node_value | ID of the Sensor in the stack | | monitoring_port | Port for capturing incoming and outgoing packets | | filter | BPF (Berkeley Packet Filter) for capturing packets. If no filter is provided, all packets are captured. > [!WARNING] > Important > > Starting from 11.1 Update 12 or later, IPS supports both IPv4 and IPv6 traffic filtering across all Sensor CLI packet capture commands. > [!NOTE] > Note > > If you do not want to provide a filter, use an empty string ("") as the parameter value. > [!NOTE] > Note > > For high throughput devices, when capturing from the Manager, ensure filters are provided such that not more than 2 Gbps of traffic is captured. | **To capture packets in port pair:** `pktcapture-circular stack-node <stack_node_value> intfport-pair <monitoring_port1>-<monitoring_port2> <filter>` | Parameter | Description | | --- | --- | | stack_node_value | ID of the Sensor in the stack | | monitoring_port1 | Port for capturing incoming packets | | monitoring_port2 | Port for capturing outgoing packets | | filter | BPF (Berkeley Packet Filter) for capturing packets. If no filter is provided, all packets are captured. > [!NOTE] > Note > > If you do not want to provide a filter, use an empty string ("") as the parameter value. > [!NOTE] > Note > > For high throughput devices, when capturing from the Manager, ensure filters are provided such that not more than 2 Gbps of traffic is captured. | **Applicable to:** NS9600 (stack) and NS9500 (stack)