For AI agents: this documentation is indexed for you in llms.txt, and all of it in /llms.txt. Every page is also available as markdown: append .md to its address.

CLI commands

This document lists CLI commands that you may find useful when working with NetCap.

List captures

You can list captures created on a specific IMSI or interface.

To see traffic streams created for a specific IMSI on a UPG pod, use:

bash

See the output example:

text

List all streams

To see all created NetCap streams on an FPP or UPG pod, run:

bash

See the output example:

text

Check NetCap status

To verify the NetCap VPP Plugin's connection to NetCap Collector, run on FPP or UPG:

bash

FPP sample output:

text

UPG sample output:

text

Enable traffic capturing

Use these commands to enable traffic capturing on a specific IMSI or interface.

To enable traffic capturing on a specific IMSI, use the command:

bash

The packet_max_bytes parameter is optional and it allows you to limit the size of collected data to reduce memory usage of a traffic capture.

Disable traffic capturing

Use these commands to disable traffic capturing on a specific IMSI or interface.

To disable traffic capturing on a specific IMSI, use this command:

bash