configure sflow ports sample-rate

configure sflow ports port_list sample-rate number

Description

Configures the sFlow per-port sampling rate.

Syntax Description

port_list Specifies a list of ports.
number Specifies the fraction (1/number) of packets to be sampled.

Default

The default number is 8192, unless modified by the configure sflow sample-rate command.

Usage Guidelines

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.

Example

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

History

This command was first available in ExtremeXOS 11.0.

Platform Availability