Configures the sFlow per-port sampling rate.
port_list | Specifies a list of ports. |
number | Specifies the fraction (1/number) of packets to be sampled. |
The default number is 8192, unless modified by the configure sflow sample-rate command.
This command configures the sampling rate on a particular set of ports, and overrides the system-wide value set in the configure sflow sample-rate command. The rate is rounded off to the next power of two, so if 400 is specified, the sample rate is configured as 512. The valid range is 256 to 536870912.
All ports on the switch are sampled individually.
The following command sets the sample rate for the ports 4:6 to 4:10 to one packet out of every 16384:
configure sflow ports 4:6-4:10 sample-rate 16384
This command was first available in ExtremeXOS 11.0.
This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.