O'Reilly logo

JUNOS Automation Cookbook by Adam Chappell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

There's more

In order to test that the REST API is working properly, Junos OS helpfully includes a simple HTML/JavaScript web page which allows you to make REST calls from your browser. You can enable this while getting to grips with the REST API using the following configuration:

   adamc@router# set system services rest enable-explorer

Once configured, you can point your browser at the Junos OS device by using the configured port number and navigate to the REST API using a friendly web interface.

If you can't seem to get the REST API to work on your Junos OS platform, the best place to start troubleshooting efforts is the Routing Engine ( ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required