ON THIS PAGE
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:
username@hostname:~$
exit
command.Common Shell Commands
The following table lists some of the shell commands that are useful for operating a Junos OS Evolved device:
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. |