CmdID

CmdID / Commands

gnmic-subscribe

Subscribe to a gnmic network device state updates. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Subscribe to target state updates under the subtree of a specific path

gnmic --address ip:port [sub --path pathIdentify

Subscribe to a target with a sample interval of 30s (default is 10s)

gnmic --address ip:port [sub --path path --sample-interval 30sIdentify

Subscribe to a target with sample interval and updates only on change

gnmic --address ip:port [sub --path path --stream-mode on-change --heartbeat-interval 1mIdentify

Subscribe to a target for only one update

gnmic --address ip:port [sub --path path --mode onceIdentify

Subscribe to a target and specify response encoding (json_ietf)

gnmic --address ip:port [sub --path path --encoding json_ietfIdentify