Enabling Sflow Forwarding - Brocade Communications Systems FastIron Administration Manual

Ethernet switch
Table of Contents

Advertisement

Changing the sFlow source port
NOTE
Configuring a sampling rate on a port that is the primary port of a trunk applies that same sampling
rate to all ports in the trunk.
Changing the sampling rate for a trunk port
You can configure an individual static trunk port to use a different sampling rate than the global default
sampling rate. This feature is also supported on LACP trunk ports. This feature is useful in cases
where ports have different bandwidths. For example, if you are using sFlow on 10/100 ports and Gbps
Ethernet ports, you might want to configure the Gbps ports to use a higher sampling rate (and thus
gather fewer samples per number of packets) than the 10/100 ports.
To configure a static trunk port to use a different sampling rate than the global default sampling rate,
enter commands such as the following:
device(config)#trunk e 4/1 to 4/8
device(config-trunk-4/1-4/8)sflow sample 8192
Syntax: [no] sflow samplenum
The num parameter specifies the average number of packets from which each sample will be taken.
The software rounds the value you enter up to the next odd power of 2. The actual sampling rate
becomes one of the values listed in the section
NOTE
Configuring a sampling rate on only the port that is the primary port of a trunk automatically applies
that same sampling rate to all ports in the trunk.
Changing the sFlow source port
By default, sFlow sends data to the collector using UDP source port 8888, but you can change the
source UDP port to any port number in the range 1025-65535.
To change the source UDP port, enter a command such as the following:
device(config)#sflow source-port 8000
Syntax: [no] sflow source-port num
The num parameter specifies the sFlow source port.

Enabling sFlow forwarding

sFlow exports data only for the interfaces on which you enable sFlow forwarding. You can enable
sFlow forwarding on Ethernet interfaces.
To enable sFlow forwarding, perform the following:
• Globally enable the sFlow feature
• Enable sFlow forwarding on individual interfaces
• Enable sFlow forwarding on individual trunk ports
254
Changing the sampling
rate.
FastIron Ethernet Switch Administration Guide
53-1003625-01

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FastIron and is the answer not in the manual?

Table of Contents

Save PDF