Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

gNMI

gNMI — gRPC Network Management Interface

Intended to obsolete SNMP.

  • get
  • set
  • subscribe
  • collect

Setting an IPv4 address

This is done in gNMI via gRPC and a YANG model.

/interfaces/interface[name=g0/0/0/0]/subinterfaces/subinterface[index=0]/ipv4/addresses/address[ip=10.0.0.1]/config/
  - ip: 10.0.0.1
  - prefix-length: 24

References

Cisco - Programmability Configuration Guide, IOS XE 17.13.x - gNMI Protocol

Cisco Live - gRPC, gNMI, gNOI… Oh My! - Jeremy Cohoe - BKDEV-2017

GitHub - openconfig/gnmi

OpenConfig - gNMI specification

Openconfig - gNMIc

Last Modified • Saturday, June 27, 2026. 11:45 pm UTC+00:00 • Commit: 4314778