openmgmt
openmgmt copied to clipboard
add more cli origin examples
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"
This issue has been marked stale given 180 days of inactivity. It will be automatically closed in 14 days if there are no updates.
This issue has been closed due to prolonged inactivity.
This issue has been closed due to prolonged inactivity.
This issue has been closed due to prolonged inactivity.
This issue has been closed due to prolonged inactivity.
This issue has been closed due to prolonged inactivity.