Displaying acl-based sflow statistics, Viewing bgp as path sflow statistics, Clearing sflow statistics – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 933
Multi-Service IronWare Switching Configuration Guide
903
53-1003036-02
ACL-based Inbound sFlow
23
Displaying ACL-based sFlow statistics
Use the show sflow command to display the number of sFlow samples collected for ACL-based
sFlow. These statistics are shown in bold in the following display.
Brocade# show sflow
sFlow services are disabled.
sFlow agent IP address: 10.10.10.254
Collector IP 10.10.10.1, UDP 6343
Polling interval is 30 seconds.
Configured default sampling rate: 1 per 1024 packets.
0 UDP packets exported
0 sFlow samples collected.
5 ACL sFlow samples collected
sFlow ports Global Sample Rate Port Sample Rate Hardware Sample Rate
4/1 1024 8192 8192
Viewing BGP AS path sFlow statistics
The output of the show sflow command displays sFlow configuration information, and the elapsed
time after the last sampling used for the BGP AS path table, and the interval for cleaning up the AS
path table. The following example output shows that the AS path table has not been sampled within
the last 51,385 seconds and that 3600 seconds, which is the default value, is the configured clean
up interval.
Brocade(config)#show sflow
Slot 1 1/1 is disabled for sflow with sample rate = 2048 (actual rate = 2048)
Slot 1 1/2 is disabled for sflow with sample rate = 2048 (actual rate = 2048)
...
Slot 1 1/19 is disabled for sflow with sample rate = 2048 (actual rate = 2048)
Slot 1 1/20 is disabled for sflow with sample rate = 2048 (actual rate = 2048)
sflow destinations :
Total sflow sampling time = 0 (0)
Total sflow UDP time = 0 (0)
Total sflow ppcr tx time = 0 (0)
No sflow sampling on AS Path for 51385 sec
Sflow as path clean up wait interval 3600 sec
Clearing sFlow statistics
To clear the UDP packet and sFlow sample counters, use the clear statistics command.
Brocade(config)# clear statistics
Syntax: clear statistics [sflow]
The sflow option clears the following values:
•
UDP packets exported
•
sFlow samples collected
•
sFlow UDP packets dropped
•
ACL sFlow samples collected