SFLOW-MIB :: sFlowPacketSamplingRate

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › SFLOW-MIB › sFlowPacketSamplingRate

sFlowPacketSamplingRate

Module: SFLOW-MIB

OID (symbolic): SFLOW-MIB::sFlowPacketSamplingRate

OID (numeric): 1.3.6.1.4.1.4300.1.1.4.1.4

Node type: OBJECT-TYPE

Type: Integer32

Access: read-write

Description: The statistical sampling rate for packet sampling from this source.

Set to N to sample 1/Nth of the packets in the monitored flows. An agent should choose its own algorithm introduce variance into the sampling so that exactly every Nth packet is not counted. A sampling rate of 1 counts all packets. A sampling rate of 0 disables sampling.

The agent is permitted to have minimum and maximum allowable values for the sampling rate. A minimum rate lets the agent designer set an upper bound on the overhead associated with sampling, and a maximum rate may be the result of hardware restrictions (such as counter size). In addition not all values between the maximum and minimum may be realizable as the sampling rate (again because of implementation considerations).

When the sampling rate is set the agent is free to adjust the value so that it lies between the maximum and minimum values

and has the closest achievable value.

When read, the agent must return the actual sampling rate it will be using (after the adjustments previously described). The sampling algorithm must converge so that over time the number of packets sampled approaches 1/Nth of the total number of packets in the monitored flows.

What is sFlowPacketSamplingRate?

This read-write value sets the statistical packet sampling rate as 1-in-N, so setting it to 512 samples roughly one packet out of every 512; a value of 1 samples every packet and 0 disables sampling entirely. Admins tune it to balance visibility into traffic flows against the CPU and bandwidth overhead of sampling, and the agent may adjust the requested value to the nearest value its hardware actually supports. For example, an admin sets sFlowPacketSamplingRate to 1000 on a busy core interface to keep sampling overhead low while still capturing a representative traffic sample.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.4300.1.1.4.1.4
snmpwalk -v2c -c public <target> SFLOW-MIB::sFlowPacketSamplingRate

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.4300.1.1.4.1.4.1
snmpget -v2c -c public <target> SFLOW-MIB::sFlowPacketSamplingRate.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.4300.1.1.4.1.4.1 i <value>

Start monitoring network switch or router with sFlow support, vendor-neutral standards-based MIB (sFlow.org) (sampling agent configuration) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the SFLOW-MIB::sFlowPacketSamplingRate OID value, configure state conditions and alerts, and monitor any network switch or router with sFlow support, vendor-neutral standards-based MIB (sFlow.org) (sampling agent configuration) from a single console.

OID Breakdown

Upper-level ancestors (6 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
Numeric OIDNameModule
1.3.6.1.4.1.4300.1sFlowMIBSFLOW-MIB
1.3.6.1.4.1.4300.1.1sFlowAgentSFLOW-MIB
1.3.6.1.4.1.4300.1.1.4sFlowTableSFLOW-MIB
1.3.6.1.4.1.4300.1.1.4.1sFlowEntrySFLOW-MIB
1.3.6.1.4.1.4300.1.1.4.1.4sFlowPacketSamplingRateSFLOW-MIB