> For the complete documentation index, see [llms.txt](https://docs.vectra.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vectra.ai/deployment/ndr-virtual-cloud-appliances/kvm-vsensor/traffic-capture-guidance-and-validation.md).

# Traffic capture guidance and validation

Guidance for KVM vSensor traffic capture, PCAP generation, and traffic validation.

## Traffic Capture Guidance

{% hint style="info" %}
If capture ports are connected before pairing is completed, the Sensor will not buffer any traffic.
{% endhint %}

As long as you are paired with a Brain appliance, once the vSensor begins seeing traffic on any of its capture ports, it will begin creating a metadata stream that will then be forwarded to the Brain for further processing. Sensors also have a rolling capture buffer that the Brain will request PCAPs from. The PCAPs will be attached as evidence with network detections as they are created.

Additionally, [Vectra packet capture](/deployment/traffic-engineering-and-validation/using-vectra-packet-capture-pcap.md) allows users to configure PCAPs to be downloaded from the Brain for analysis with 3rd party tools such as Wireshark.

**Guidance:**

* Capture ports do not get assigned IP addresses.
* The `show traffic stats` command, available at the Sensor’s CLI, may be useful to see if your traffic capture is successful before you can see the traffic graphs in your Brain’s GUI.
  * See [Traffic Graph showing no traffic (0 Mbps)](https://support.vectra.ai/vectra/article/KB-VS-1177) for more details.
* See [Vectra NDR (Detect) and Network Identity Architecture Overview](/deployment/getting-started/ndr-network-identity-architecture.md) for architecture guidance.
* See [Vectra Platform Network Traffic Recommendations](/deployment/traffic-engineering-and-validation/network-traffic-recommendations.md) for what to capture.
* See [Asymmetry concerns in Vectra sensor feeds](/deployment/traffic-engineering-and-validation/asymmetry-concerns.md) for guidance around asymmetric flows.

## **Turning off PCAP generation**

If required, Sensors can be configured to not allow PCAP creation when there are regulatory or privacy concerns. Navigate to *Configuration → COVERAGE → Data Sources → Network → Sensors* in your Vectra UI and edit the desired Sensor. Ensure the checkbox shown below is checked for Sensors you do not wish to perform any PCAP functions and then save your Sensor configuration:

<figure><img src="https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2FedapcgQ9fEXBxkpYV3ug%2Fimage.png?alt=media&amp;token=4e044b16-c909-402d-b09d-a007bbd4dc89" alt="" width="563"><figcaption></figcaption></figure>

## Traffic Validation

For a quick spot check to see that you are receiving any traffic at all via the vSensor you many want to check the GUI and/or CLI for statistics. If the vSensor is seeing more than 1 Mbps of traffic, this will show in the GUI under *Network Stats > Ingested Traffic* after a few minutes.

![](https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-7d93d071b331fbae7870ac5289078624a90ccf58%2Fkvm-vsensor-deployment-guide-6.png?alt=media)

* You can see traffic flow immediately at the CLI of the Sensor using the `show traffic stats` command.
  * Please note that this command will only function after the vSensor has been paired and updated from the Brain. For details, please see details about the intial embryo state of vSensors in your vSensor deployment guide.
* Execute this command a few times in a row to see increasing packet counts.

  <img src="https://4227135129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHJ1ltuWFvsArFWtevnRn%2Fuploads%2Fgit-blob-ba22877951eb4d06ea0d566722af554e896413a7%2Fkvm-vsensor-deployment-guide-7.png?alt=media" alt="" width="389">

After sending traffic to your Sensors, it is a best practice to validate that the traffic observed meets quality standards required for accurate detection and processing. Vectra’s Network Traffic Validation feature provides alarms and metrics that can be used to validate the quality of your traffic. See [Traffic Validation (ENTV)](/deployment/traffic-engineering-and-validation/traffic-validation-entv.md) for details on validating your traffic quality.

## Worldwide Support Contact Information

* **Support portal:** [https://support.vectra.ai](https://support.vectra.ai/)
* **Email:** <support@vectra.ai> (preferred contact method)
* **Additional information:** <https://www.vectra.ai/support>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.vectra.ai/deployment/ndr-virtual-cloud-appliances/kvm-vsensor/traffic-capture-guidance-and-validation.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
