Configuring sFlow

ExtremeXOS allows you to collect sFlow statistics on a per port basis.

An agent residing locally on the switch sends data to a collector that resides on another machine. You configure the local agent, the address of the remote collector, and the ports of interest for sFlow statistics gathering. You can also modify default values for how frequently on an average a sample is taken and the maximum number of samples allowed before throttling the sample gathering.

To configure sFlow on a switch:

Optionally, you may also change the default values of the following items:

Configuration Tasks

Use the following commands to configure the sFlow feature:

  • enable sflow ports all | port_list {ingress | egress | both}

    The keyword options enable you to configure sFlow types on a given set of ports. If you do not configure an sFlow type, then ingress sFlow sampling is enabled as the default configuration.

Use the following commands to display the type of sFlow configured on the physical interface, and various statistics about sFlow sampling:

  • show sflow configuration
  • show sflow statistics

    The following fields are displayed:

    • Received frames—Number of frames received on sFlow enabled ports.
    • Sampled Frames—Number of packets that have been sampled by sFlow.
    • Transmitted Frames—Number of UDP packets sent to remote collector(s).
    • Broadcast Frames—Number of broadcast frames received on sFlow enabled ports.
    • Multicast Frames—Number of multicast frames received on sFlow enabled ports.
    • Packet Drops—Number of samples dropped.