LinuxCommandLibrary

gnmic-set

Modify gnmi network device configuration.

TLDR

Update the value of a path

$ gnmic --address [ip:port] set --update-path [path] --update-value [value]
copy


Update the value of a path to match the contents of a JSON file
$ gnmic -a [ip:port] set --update-path [path] --update-file [filepath]
copy


Replace the value of a path to match the contents of a JSON file
$ gnmic -a [ip:port] set --replace-path [path] --replace-file [filepath]
copy


Delete the node at a given path
$ gnmic -a [ip:port] set --delete [path]
copy

Copied to clipboard