Managing Junos Devices Using REST API
https://www.juniper.net/documentation/en_US/junos/topics/example/rest-api-explorer-example.html
CLI Configuration | |
---|---|
set system services rest http set system services rest enable-explorer | |
J-WEB Configuration | |
Basic Restfull API request | |
show commands | |
show security flow session | display xml rpc show rpc commands juniper@SDK-vSRX_JCL_EWF> show security flow session | display xml rpc <rpc-reply xmlns:junos="http://xml.juniper.net/junos/20.1R0/junos"> <rpc> <get-flow-session-information> </get-flow-session-information> </rpc> <cli> <banner></banner> </cli> </rpc-reply> | |
/rpc/get-flow-session-information | |
/rpc/show-web-filtering-status /rpc/show-web-filtering-statistics |