Configuring the Counter Sampling Interval
Configure the counter sampling interval values at port level to determine how often the sFlow agent polls and exports counters for a configured interface.
Before you begin
- You must globally enable sFlow. 
Procedure
Example
Verify all slots use the default polling-interval configuration.
Switch:1(config-if)#sflow counter-interval 525
Switch:1(config-if)#show sflow interface 1/1-1/10
===============================================================================
                         sFlow Port Configuration Info
===============================================================================
Port   Packet-Sample-Rate  Max-Header-Size Counter-interval  Collector-list
                                           (in secs)
--------------------------------------------------------------------------------
1/1    0                   128             525               1,2
1/2    0                   128             525               1,2
1/3    0                   128             525               1,2
1/4    0                   128             525               1,2
1/5    0                   128             525               1,2
1/6    0                   128             525               1,2
1/7    0                   128             525               1,2
1/8    0                   128             525               1,2
1/9    0                   128             525               1,2
1/10   0                   128             525               1,2
--------------------------------------------------------------------------------
All 10 out of 10 Total Num of sflow port entries displayed
Variable Definitions
Use the data in the following table to use the sflow counter-interval and show sflow interface commands.
| Variable | Value | 
|---|---|
| <1–3600> | Specifies the polling interval for a slot. Default value is 0 (disabled). | 
| {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} | Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. | 





