Simple Network Management Protocol (SNMP) was designed in 1988 for networks that carried kilobits of traffic per second. It works by polling: a management system asks a device for its current state, the device responds, and the cycle repeats every 60 to 300 seconds. For the networks SNMP was designed for, this was adequate.
For a modern AI data center where a single link can move 800 gigabits per second, or a service provider network carrying real-time 5G traffic, SNMP polling is not just inadequate. It actively masks the network behavior that operators need to observe.
The Fundamental Problem with Polling

Why SNMP Fails in AI and High-Speed Networks
- Polling granularity. Even aggressive 1-minute SNMP polling misses events that last seconds. Queue fills and drains in under 100ms in 800G fabrics.
- CPU overhead. Each SNMP poll request consumes CPU cycles on the network device. At scale, polling hundreds of interfaces creates a predictable CPU spike every cycle.
- No event semantics. SNMP tells you the state at polling time. It does not tell you what changed, when it changed, or what caused it.
- No view between polls. SNMP reports a counter only at the instant you poll it. Even with 64-bit counters that never wrap, you get the running total, never the transient that formed and cleared in the gap between two polls.
- AI fabric specific. PFC pause frame storms, ECN marking events, and RoCEv2 retransmission bursts are transient and invisible to SNMP polling.
gNMI Streaming Telemetry: How It Works
gNMI (gRPC Network Management Interface) inverts the monitoring model. Instead of the management system asking the device for data, the device pushes data to the collector. In the gNMI Subscribe RPC, two subscription modes are available:
- On-Change. Data is pushed only when the value changes. A link going down triggers an immediate push. Ideal for state changes (interface status, BGP session state, route table changes). On-change is typically requested by the collector in dial-in mode using the gNMI Subscribe RPC.
- Sample. Data is pushed at a configured interval. Used for counters and metrics where absolute values at regular intervals are needed (queue depth, byte counters).
Configuring gNMI Streaming Telemetry in OcNOS
OcNOS configures streaming telemetry from four separate building blocks: the feature is enabled globally, then a sensor-group lists the paths to stream, a destination-group names the collector, and a subscription-name binds them together. This example shows dial-out mode, where OcNOS opens the gRPC tunnel to the collector and streams at the configured sample interval.
! OcNOS streaming telemetry (dial-out) configuration
!
! 1. Enable the feature (enters feature-telemetry config mode)
feature streaming-telemetry
!
! 2. Define a sensor-group and the OpenConfig paths to stream
sensor-group INTF-STATS
sensor-path /interfaces/interface[name="xe1"]/state/counters
sensor-path /interfaces/interface[name="xe1"]/state/oper-status
!
! 3. Define a destination-group (the collector / tunnel server)
destination-group COLLECTOR-1
tunnel-server ip 10.12.101.72 port 11161
!
! 4. Bind sensor-group and destination-group in a named subscription
subscription-name INTERFACE-STATS
encoding json-ietf
destination-group COLLECTOR-1
sensor-group INTF-STATS sample-interval 10 ! seconds; valid range 10-3600
The sample interval is expressed in seconds, with a valid range of 10 to 3600. Encoding is json-ietf (lowercase); json and proto are also supported. The exact sensor paths available depend on the YANG models supported in your OcNOS release; confirm them against the OcNOS streaming telemetry documentation before deployment.
OpenConfig and IPI-Native YANG Models
A single sensor-group can mix vendor-neutral OpenConfig paths with IPI-native paths. OpenConfig paths are standardized across vendors, so the same collector configuration works across OcNOS and other OpenConfig-capable platforms.
! OpenConfig and IPI-native paths in the same sensor-group
!
sensor-group MIXED-MODELS
! OpenConfig path (vendor-neutral)
sensor-path /interfaces/interface[name="xe1"]/state/counters
! IPI-native path
sensor-path ipi:/components/component[name=RAM]/ram/state
!
! Verify configuration and subscription state:
show running-config streaming-telemetry
show streaming-telemetry persistent-subscriptions brief
show streaming-telemetry persistent-subscriptions details
Migration Path: SNMP to gNMI
| Step | Action | Notas |
|---|---|---|
| 1 | Deploy gNMI collector (Prometheus + gNMI Exporter, InfluxDB, or commercial) | Run in parallel with SNMP initially |
| 2 | Configure OcNOS gNMI subscriptions for key sensors | Start with interface state and BGP events |
| 3 | Validate data completeness against SNMP baselines | 2 to 4 week parallel run |
| 4 | Expand to queue, PFC, and optical sensors | These are invisible to SNMP anyway |
| 5 | Decommission SNMP polling for covered sensors | Keep SNMP only for legacy devices that lack gNMI |
- Automating Network Deployments with OcNOS
- Performance Measurement: TWAMP and Y.1731
- OcNOS 7.0 SP: On-Change gNMI Telemetry
- IP Maestro: Element Management for OcNOS
- Contactar con IP Infusion
IP Infusion Engineering Team
Profundice. Llévelo consigo.
Dos descargas técnicas y breves que profundizan más que esta página: el datasheet completo de OcNOS-SP y el datasheet completo de OcNOS-DC.
Datasheet de OcNOS-SP
Especificación completa de OcNOS-SP: el conjunto de funciones de acceso, cell site y agregación, los SKU de software, las plataformas de hardware compatibles y la guía de pedido de la solución.
Obtener el datasheetDatasheet de OcNOS-DC
Especificación completa de OcNOS-DC: el conjunto de funciones EVPN-VXLAN y Ethernet for AI, los SKU de software, las plataformas de hardware compatibles y la guía de pedido de la solución.
Obtener el datasheetDatasheet de OcNOS-SP
Formulario rápido. Su PDF se abre en una pestaña nueva inmediatamente después de enviarlo.
✓ Abriendo su PDF en una pestaña nueva…
Si no se ha abierto, utilice el enlace de abajo.
Datasheet de OcNOS-DC
Formulario rápido. Su PDF se abre en una pestaña nueva inmediatamente después de enviarlo.
✓ Abriendo su PDF en una pestaña nueva…
Si no se ha abierto, utilice el enlace de abajo.