Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Shell Commands for Junos OS Evolved

Shell commands are Linux commands that are executed through the Linux shell rather than the Junos OS Evolved CLI. Junos OS Evolved supports existing Linux shell commands. This topic lists commonly used shell commands for Junos OS Evolved.

How to Use the Shell

To start the Linux shell, enter the start shell command from the Junos OS Evolved CLI. When you are in the shell, the command prompt will change to the following format:

Once the shell is active, you can enter shell commands using the shell prompt. To return to the Junos OS Evolved CLI, use the exit command.

Common Shell Commands

The following table lists some of the shell commands that are useful for operating a Junos OS Evolved device:

Table 1: Junos OS Evolved Shell Commands
Command Description
sync

Synchronize the Routing Engines

This command should only be used in situations where the CLI cannot be accessed.

reboot

Reboot the current Routing Engine.

This command should only be used in situations where the CLI cannot be accessed.

/sbin/upgrade /var/tmp/iso

Upgrade the current Routing Engine using the specified .iso file.

This command should only be used in situations where the CLI cannot be accessed.

vssh node-name

Open a SSH session to the remote node from the Routing and Control Board.

chvrf iri network-command

Creates the network context required to access the control plane and reach other nodes.

systemctl enable --now docker.service Enable automatic startup for the Docker container service
who Displays a list of users logged into the device. Hostname is displayed for users connected via telent and IP address is displayed for users connected via SSH.
ecmp-tracer --interface & Displays the forwarding packets going through an interface.