openmgmt icon indicating copy to clipboard operation
openmgmt copied to clipboard

add more cli origin examples

Open noredistribution opened this issue 2 years ago • 6 comments

Eg 1)

gnmic -a 10.83.13.214:6030 -u cvpadmin -p arista --insecure --gzip set --request-file bgp.yaml
{
  "timestamp": 1628091791855672771,
  "time": "2021-08-04T16:43:11.855672771+01:00",
  "results": [
    {
      "operation": "UPDATE",
      "path": "cli:"
    },
    {
      "operation": "UPDATE",
      "path": "cli:"
    }
  ]
}
cat bgp.yaml
updates:
 - path: "cli:"
   value: router bgp 65101
   encoding: ascii
 - path: "cli:"
   value: neighbor IPv4-UNDERLAY-PEERS maximum-routes 15500
   encoding: ascii
gnmic -a 10.83.13.214:6030 -u cvpadmin -p arista --insecure --gzip --encoding ASCII set --update-path "cli:" --update-value "router bgp 65101" --update-path "cli:" --upda
te-value "neighbor IPv4-UNDERLAY-PEERS maximum-routes 13500"
{
  "timestamp": 1628091405938523430,
  "time": "2021-08-04T16:36:45.93852343+01:00",
  "results": [
    {
      "operation": "UPDATE",
      "path": "cli:"
    },
    {
      "operation": "UPDATE",
      "path": "cli:"
    }
  ]
}
gnmi -addr 10.83.13.214:6030 -username cvpadmin -password arista update origin=cli "" "router bgp 65101
neighbor IPv4-UNDERLAY-PEERS maximum-routes 12500"

noredistribution avatar Aug 04 '21 16:08 noredistribution

This issue has been marked stale given 180 days of inactivity. It will be automatically closed in 14 days if there are no updates.

github-actions[bot] avatar Feb 01 '22 12:02 github-actions[bot]

This issue has been closed due to prolonged inactivity.

github-actions[bot] avatar Feb 16 '22 12:02 github-actions[bot]

This issue has been closed due to prolonged inactivity.

github-actions[bot] avatar Mar 03 '22 12:03 github-actions[bot]

This issue has been closed due to prolonged inactivity.

github-actions[bot] avatar Mar 18 '22 12:03 github-actions[bot]

This issue has been closed due to prolonged inactivity.

github-actions[bot] avatar Apr 02 '22 12:04 github-actions[bot]

This issue has been closed due to prolonged inactivity.

github-actions[bot] avatar Jun 06 '22 12:06 github-actions[bot]