- Written by Nathan Kitchen
- Posted on April 25, 2024
- Updated on April 25, 2024
- 1414 Views
EOS devices can accept gNMI Get requests with CLI commands as paths. Such requests must have the "origin" field of the path set to “cli”. When the “encoding” field of a Get request is set to “JSON” or “JSON_IETF”, or is not set, the output is returned as the eAPI model of the command, serialized as JSON. For example (using the command “show interfaces Ethernet1/1 status”):
- Written by Nathan Kitchen
- Posted on April 24, 2020
- Updated on February 15, 2024
- 2216 Views
The command "show gnmi get PATH" provides a convenient way to send a Get request to a gNMI server running on the device and display the resulting values. This can be helpful during exploration or debugging when setting up gNMI monitoring.
- Written by Nathan Kitchen
- Posted on April 23, 2018
- Updated on April 23, 2018
- 5286 Views
The SNMP notifications (Trap and Inform messages) that were most recently sent are recorded in a log, as described by