> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/fpp/3.2/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/fpp/3.2/deployment-guides/netcap-traffic-capturing.md).

# Set up traffic capturing

You can use the [NetCap extension](https://docs.cennso.com/cennso/netcap/main.md) to collect and aggregate traffic from multiple worker nodes in a central location.

To enable traffic capturing using NetCap, specify the correct NATS parameters for `VPPOperator` in the **natsConfig** field. The `VPPOperator` CR is applied on the Management Cluster.

>**NOTE:** Unless you explicitly overwrite the NATS configuration in VPPOperator CR, the default composition `vpp-operator-generic` already sets correct values for Cennso-managed deployments.

## Full example

```yaml
# Apply this on the Management Cluster
apiVersion: fpp.cennso.com/v1alpha1
kind: VPPOperator
metadata:
  name: example-operator
  namespace: cennso-infra
spec:
  connectionSecretRef:
    name: example-core-cluster
    namespace: cennso-infra
  natsConfig:
    enabled: true
    nats:
      clusterName: your-cluster
      url: nats://nats-url:4236
      controlJetStreamDomain: mc
    userCredentials: secret
```

To read more about NetCap and how to deploy it in the Core Cluster, see the NetCap extension documentation.
