Skip to main content
Connect a Juniper device that runs Junos, such as an MX router, EX switch, or SRX firewall, so CloudThinker agents can find down interfaces, BGP peers and OSPF neighbors that aren’t up, and chassis alarms. Through your Approvals, agents can also disable or enable one interface, set its description, or clear its counters. The connection signs in to the Junos REST API with a Junos login.

Prerequisites

  • A Junos device with the REST API service on HTTPS. The REST API listens on port 3443 unless you set another port. See Juniper’s REST API configuration guide.
  • An HTTPS address CloudThinker can reach. Network devices usually sit on a private network, so follow Reaching private services.
  • A Junos administrator who can create a login class and a user.
  • The Admin role in your CloudThinker workspace. See Roles.
The connection covers one device. To add the next device, open the card’s More menu and choose Add another.

Setup

1

Create the login in Junos

On the device, create a login class with only the permission flags you need, then a user in that class, such as cloudthinker. See Required permissions and Juniper’s access privilege guide.
2

Connect in CloudThinker

Open Settings → Workspace → Connections, open the Discover tab, and select Juniper Junos. Click Connect, fill in the fields below, then click Connect in the dialog. CloudThinker reads the device’s software version to check the login.Success state: the connection shows a Connected status and the message Juniper Junos connected and runs Junos <version>. CloudThinker then opens a chat that takes a read-only deep look at the connection (“Often takes about 15 min. You can leave the chat.”). To run it again later, open the card’s More menu and choose Try in chat.

Connection details

CloudThinker refuses redirects, so enter the exact address and port the REST API answers at.

Required permissions

Junos permission flags are not cumulative, so the login class must list every flag it needs.
Start with view only. Add the other flags when you want agents to make interface changes, and keep Allow writes off until then.

Agent capabilities

Interface counters count from the last boot or the last clear, not from a time window.

Write access

Before it asks, the agent names the device, the interface, its current admin and link state, and the change. It makes one change on one physical interface per approval, then reads the interface again and reports the state before and after. To disable or enable an interface, CloudThinker commits with a confirmed commit that Junos rolls back after 5 minutes unless the read-back confirms the change. Disabling an interface drops every link and session on it. Agents can’t change management or loopback interfaces, other configuration, or routing policy, and they can’t roll back or reboot the device. Make those changes on the device. Allow writes starts on. To lock writes, open Juniper Junos in Settings → Workspace → Connections and turn off Allow writes on its detail panel. Two or more Juniper connections in one workspace turn writes off for all of them, because an approved change can’t name which device it targets. Every change an agent makes goes through your workspace’s Approvals first. On the default Auto · Rules + AI · Ask me mode, AI judgment can let a safe change run without asking — and an Allow Rule can too. Choose Manual to approve every change yourself.

Verify the connection

Example prompts

Troubleshooting

Check both values on the device, then edit the connection and connect again.
Add the view permission flag to the login’s class, then connect again. During a change, a permission error means the class lacks configure, interface-control, or clear.
Check the port in Junos REST API URL and that the REST API is turned on for HTTPS on the device.
The REST API uses a self-signed or private certificate. Paste the CA certificate that issued it into CA certificate (optional).
Paste the full certificate, including its BEGIN CERTIFICATE and END CERTIFICATE lines, and nothing else.
Enter the https:// address and port the REST API serves directly.
CloudThinker couldn’t open a connection to the device. Check the address and port, and that your firewall lets CloudThinker reach it.
Another user may hold the configuration lock, or the commit check failed. The agent reports the error and doesn’t retry. Fix the cause on the device, then ask again.

Security

  • Least privilege — grant only the permissions the agents need for your use case; start read-only and widen later.
  • Read-only by default — use read-only credentials unless you want agents to make changes through this connection.
  • Rotate credentials — rotate keys and tokens on your normal schedule; CloudThinker picks up the new value when you update the connection.
  • Revoke on offboarding — remove the credential at the provider when you delete a connection or a teammate leaves.
  • Give the login only the flags it needs, and keep it out of the super-user class.
  • Keep Allow writes off on production devices unless you want agents to change interfaces.

Approvals

Decide which changes run, wait for a person, or are refused.

F5 BIG-IP

Review applications, firewall policies, DNS, and device state.