PDF(195.3 KB) View with Adobe Reader on a variety of devices
ePub(248.6 KB) View in various apps on iPhone, iPad, Android, Sony Reader, or Windows Phone
Mobi (Kindle)(232.2 KB) View on Kindle device or Kindle app on multiple devices
Updated:January 16, 2025
Document ID:222691
Bias-Free Language
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
NOTE: you can also use more than one filter in the command. For example,
> show snort flows proto TCP src_ip x1.x1.x1.2 – outputs TCP flows which have the src ip x1.x1.x1.2
Potential Error Response
CLI user could get a response “unable to process the command, please try again later”.
This happens when, for example, Snort 3 is down, when Snort 3 is busy, or when Snort 3 is not processing control socket commands (such as threads in stuck state).
Conditions for CLI to run successfully:
Snort 3 is running.
Snort 3 is responding to control commands over UNIX domain socket.
Stopping CLI/Output
Like any CLI command, you can get the command prompt by pressing CTRL +C , but the command has already been passed to all packet threads and it runs to completion in Snort.
The command completes when both conditions apply:
All flows in the flow cache have been viewed
All flows that match the filters in the CLI command have been written to the files which serve as input for the command to output in the CLI.
Performance Impact
This is a debug CLI. For every packet we run through, we look at about 100 flows from the flow table and print the flows which match the criteria.
Running show snort flows has a performance impact.
References
FAQs
Q: Can we use more than one filter in "show snort flows
A: Yes, The CLI supports providing more than one filter at a time and outputs flows matching both filters.