Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Monitor JCNR via CLI

SUMMARY This topic contains instructions to access the JCNR controller (cRPD) CLI and run operational commands.

Accessing the JCNR Controller (cRPD) CLI

You can access the command-line interface (CLI) of the cloud-native router controller by accessing the shell of the running cRPD container.


The commands below are provided as an example. The cRPD pod name must be replaced from your environment. The command outputs may differ based on your environment.

List the K8s Pods Running in the Cluster

Copy the name of the cRPD pod—kube-crpd-worker-ds-8tnf7 in this example output . You will use the pod name to connect to the running container's shell.

Connect to the cRPD CLI

Issue the kubectl exec command to access the running container's shell:

where <namespace> identifies the namespace in which the pod is running, <pod name> specificies the name of the pod and the <container name> specifies the name of the container (to be specified if the pod has more than one container).

The cRPD pod has only one running container. Here is an example command:

The result of the above command should appear similar to:

At this point, you have connected to the shell of the cRPD. Just as with other Junos-based shells, you access the operational mode of the cloud-native router the same way as if you were connected to the console of a physical Junos OS device.

Example Show Commands

Here are some example show commands you can execute:

Example Clear Commands

Here are some example clear commands: