gnmic-subscribe
Subscribe to a gnmic network device state updates. tldr-pages
On several platforms
Several platforms
Subscribe to target state updates under the subtree of a specific path
gnmic --address ip:port [sub --path pathIdentifySubscribe to a target with a sample interval of 30s (default is 10s)
gnmic --address ip:port [sub --path path --sample-interval 30sIdentifySubscribe to a target with sample interval and updates only on change
gnmic --address ip:port [sub --path path --stream-mode on-change --heartbeat-interval 1mIdentifySubscribe to a target for only one update
gnmic --address ip:port [sub --path path --mode onceIdentifySubscribe to a target and specify response encoding (json_ietf)
gnmic --address ip:port [sub --path path --encoding json_ietfIdentify