Prerequisites
Prerequisites for Onboarding a Router
Before you onboard a router, ensure that:
-
The router can reach the gateway.
Note:If a firewall exists between Juniper Routing Assurance and the router, configure the firewall to allow outbound access on TCP ports 2200 and 443, from the management port of the router.
-
The router can connect to the Internet by pinging IP address 8.8.8.8.
-
You take a back up of the existing Junos OS configuration on the router by running the following command from the router's CLI:
user@host> request system configuration rescue save
Backup configuration is saved in the config directory. You can view the backed-up configuration file by starting the Junos OS shell and running the following commands:
user@host> start shell user@host:~$ cd /config user@host:/config$ ls -l /config total 43 ... -rw-r----- 1 root root 7759 Apr 4 20:58 rescue.conf.gz user@host:/config$
Note: We recommend that you back up the existing Junos OS configuration on a router before onboarding it.
Configure Ports
Table 1 lists the ports that should be enabled to allow the router to connect with the cloud.
|
Service Type |
Portal/Endpoint |
Port Number |
|---|---|---|
|
Admin Portal |
routing.ai.juniper.net |
TCP 443 |
|
Router to Juniper Cloud |
oc-term.ai.juniper.net |
TCP 2200 |
| Receive Webhook Notifications for Router Events |
api-ws.ai.juniper.net |
TCP 2200 |
|
Router gNMI Telemetry to Juniper Cloud |
gnmi-term.ai.juniper.net |
TCP 32767 |