beautypg.com

Configuring sflow statistics, Displaying sflow show command – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 922

background image

892

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

sFlow event workflow

23

Displaying sFlow show command

This command will display the configuration for sFlow.

Brocade(config)#show sflow

sFlow services are enabled.

sFlow management VRF is enabled.

sFlow management VRF name is default-vrf.

sFlow agent IP address: 55.55.55.56

sFlow agent IPV6 address: unspecified

sFlow source IP address: unspecified, UDP 8888

sFlow source IPv6 address: unspecified, UDP 8888

Collector IP 77.7.7.2, UDP 6343

Polling interval is 20 seconds.

Configured default sampling rate: 1 per 2048 packets.

0 UDP packets exported

124 sFlow samples collected.

133 sFlow management-vrf UDP packets dropped

0 ACL sFlow samples collected.

sFlow ports Global Sample Rate Port Sample Rate Hardware Sample Rate

1/5 2048 2048 port_down

1/8 2048 2048 2048

sFlow Null-0 Sampling is Enabled.

Configuring sFlow statistics

When traffic is received in the sFlow enabled interface, packets are sent to the LP CPU. The
packets are processed by sFlow module by adding sFlow header along with the packet header and
thereafter sent to the sFlow collector. The statistics of sFlow samples are maintained in the sFlow
collector.

Use this command in the sFlow module to display the total count per interface for both sFlow and
ACL based samples in all the slots where sFlow is configured.

Brocade(config)# show sflow statistics

Sflow Ports

Flow Samples count Acl Samples Count

1/1

800

0

1/5

0

900

2/1

600

0

Brocade(config)# show sflow statistics ethernet 1/1

Sflow Ports

Flow Samples count Acl Samples Count

1/1

800

0

Syntax: show sflow statistics

clear statistics sflow command clears all the statistics collected per interface.

Brocade(config)# clear statistics sflow

Brocade(config)# show sflow statistics ethernet 1/1

Sflow Ports

Flow Samples count Acl Samples Count

1/1

0

0