gnmic Command Examples

A gNMI command-line client. Manage gNMI network device configuration and view operational data. More information: https://gnmic.kmrd.dev.

gnmic --address {{ip:port}} capabilities

gnmic --address {{ip:port}} --username {{username}} --password {{password}} capabilities

gnmic -a {{ip:port}} get --path {{path}}

gnmic -a {{ip:port}} set --update-path {{path}} --update-value {{value}}

gnmic -a {{ip:port}} subscribe --path {{path}}