Using gNMI

Platforms: CISCO NXOS, ONES + SONiC

Configuration on CiSCO NXOS:

configure terminal
feature grpc 
grpc use-vrf default

Configuration on ONES Telemetry Agent + SONiC

There is no configuration required for SONiC devices, ONES utilizes an agent which listens on 50052 gNMI/gRPC socket for streaming telemetry.

gnmic -a <IP-Here>:50052 -u admin -p YourPaSsWoRd --skip-verify
capabilities
gNMI version: 1.1.0
supported models:
- openconfig-bgp, OpenConfig working group, 6.1.1
- openconfig-if-ethernet,, OpenConfig working group, 2.12.0
- openconfig-lldp, OpenConfig working group, 0.2.1
- openconfig-platform-fan, OpenConfig working group, 0.1.1
- openconfig-platform-psu, OpenConfig working group, 0.2.1
- openconfig-platform-transceiver, OpenConfig working group,
0.8.0
- system/processes, Aviz Networks Inc, 0.1.0
supported encodings:
- PROTO

Subscribe to System Resources:

gnmic -a <IP-Here>::50052 -u admin -p YourPaSsWoRd --skip-verify subscribe --path “/system/processes/“ --stream-mode sample --sample-interval 10s --qos 0

Last updated