gnmic get

Get a snapshot of a gnmi network device operation data. More information: https://gnmic.kmrd.dev/cmd/get.

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

gnmic -a {{ip:port}} get --path {{path/to/file_or_directory1}} --path {{path/to/file_or_directory2}}

gnmic -a {{ip:port}} get --prefix {{prefix}} --path {{path/to/file_or_directory1}} --path {{path/to/file_or_directory2}}

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