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 or same I/O module 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 all platforms.