show sflow
Displays the sFlow configuration and statistics.
Modes
User EXEC mode
Privileged EXEC mode
Global configuration mode
Interface configuration mode
Usage Guidelines
You can display the rates that you configured for the default sampling rate, module rates, and all sFlow-enabled ports. You can view the agent IP address and several other details.
The
show sflow command displays the following information.
Examples
The following is sample output from the
show sflow command.
device# show sflow sFlow version: 5 sFlow services are enabled. sFlow agent IP address: 10.1.1.1 3 collector destinations configured: Collector IP 10.2.2.2, UDP 6343 Collector IP 10.3.3.3, UDP 6343 Collector IP 10.4.4.4, UDP 6343 Configured UDP source port: 9999 Polling interval is 30 seconds. Configured default sampling rate: 1 per 566 packe Actual default sampling rate: 1 per 566 packets. The maximum sFlow sample size: 1200. Sample mode: All packets including dropped packet exporting cpu-traffic is enabled. exporting cpu-traffic sample rate: 18. exporting system-info is enabled exporting system-info polling interval: 30 second 22 UDP packets exported 0 sFlow flow samples collected. sFlow ports: ethe 1/1/1 to 1/1/2 Module Sampling Rates --------------------- U1:M1 configured rate=300, actual rate=300 Port Sampling Rates ------------------- Port=1/1/1, configured rate=300, actual rate=300 Port=1/1/2, configured rate=400, actual rate=400