262 Brocade ICX 6650 Administration Guide
53-1002600-01
sFlow
11
To change the sampling rate on an individual port, enter a command such as the following at the
configuration level for the port.
Brocade(config-if-1/1)#sflow sample 8192
Syntax: [no] sflow sample <num>
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 “Changing the default sampling rate”.
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 po rts, you might wan t 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:
Brocade(config)#trunk e 1/1/1 to 1/1/2
Brocade(config-trunk-1/1/1-1/1/2)sflow sample 8192
Syntax: [no] sflow sample <num>
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 “Changing the default sampling rate”.
NOTE
Configu ring a sampl ing ra te on on ly the port that is the primar y port of a trunk automatically applies
that same sampling rate to all ports in the trunk.