OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

Enable sFlow

You can enable sFlow either on all interfaces globally or on a specific set of interfaces. The system displays an error message if you try to enable sFlow on both modes at a time.

If you configure sFlow only on a set of interfaces, any further change to the sFlow-enabled ports triggers the sFlow agent to restart. This results in a gap in the polling counter statistics of 30 seconds and the sFlow counters are reset on all sFlow-enabled ports.

When you enable sFlow on a port-channel:
  • When you enable sFlow in Per-Interface mode, the counter statistics of sFlow-enabled ports reset to zero when you add a new member port or remove an existing member port from any sflow enabled port-channel group.
  • sFlow counter statistics that are individually reported for the port members of a port-channel data source are accurate. Counter statistics reported for the port-channel may not be accurate. To calculate the correct counters for a port-channel data source, add together the counter statistics of the individual port members.

Enable or disable sFlow globally

sFlow is disabled globally by default.

  • Enable sFlow globally on all interfaces in CONFIGURATION mode.
    sflow enable all-interfaces
  • Disable sFlow in CONFIGURATION mode.
    no sflow

Enable or disable sFlow on a specific interface

  • Enable sFlow in CONFIGURATION mode.
    sflow enable
  • Disable sFlow in CONFIGURATION mode.
    no sflow enable
Enable sFlow on a specific interface
OS10(config)# sflow enable
                                 OS10(config)# interface ethernet 1/1/1
                                 OS10(conf-if-eth1/1/1)# sflow enable
                              
Enable sFlow on a range of interfaces
OS10(config)# sflow enable 
                                 OS10(config)# interface range ethernet 1/1/1-1/1/10
                                 OS10(conf-range-eth1/1/1-1/1/10)# sflow enable
                              
Enable sFlow on a port-channel
OS10(config)# sflow enable 
                                 OS10(config)# interface range port-channel 1-10
                                 OS10(conf-range-po-1-10)# sflow enable
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\