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

gnmic subscribe

  • Subscribe to a gnmic network device state updates.
    More information: <https://gnmic.kmrd.dev/cmd/subscribe>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

gnmic -a {{ip:port}} subscribe --path {{path}} --sample-interval 30s

click the source code to copy