Configure and Verify the Rest API

This guide is under construction. Please excuse our dust.

Step 1: Configure the Rest API

  • Copy and paste the commands below to a text file, making sure to remove any line breaks.

  • Copy and paste the commands into the command line interface (CLI) at the [edit] hierarchy level, and then enter commit from configuration mode.

set system services rest http port 3000
set system services rest https port 3443
set system services rest enable-explorer
commit and-quit

Step 2: Verify the Rest API Configuration

  • Display the rest API configuration by issuing the show configuration system services rest operational mode command:

show configuration system services rest

Step 3: Create a Read-Only User

  • Generate a new user:

set system login user epiphany class read-only authentication encrypted-password <password>

Last updated