Junos® OS REST API Guide
...
For an rpc command, the general format of the endpoints is: | ||||||
---|---|---|---|---|---|---|
default ports: http: 3000 https: 3443 |
| |||||
work out the rpc command |
| |||||
show interfaces | /rpc/get-interface-information /rpc/get-interface-information?terse | |||||
show interfaces ge-0/0/0.0 | /rpc/get-interface-information?interface-name=ge-0/0/1 /rpc/get-interface-information?terse&interface-name=ge-0/0/1 | |||||
show interfaces ge-0/0/0.0 terse | /rpc/get-interface-information | |||||
With Postman | ||||||
Config using RPC call | ||||||
| ||||||