top of page

JunOS | Tips & Tricks

Writer: Diniz MartinsDiniz Martins

Sharing some tips and tricks below:


Exit from the CLI environment and create a UNIX-level shell.

To return to the CLI, type exit from the shell.


Find big size file into shell:


Deleting whole configuration:


Load replace terminal:

The command load replace terminal can be used to copy a configuration from a text file to a Juniper device. After executing this command the router will start accepting configuration data via the paste option. To exit this mode use the CTRL-D or ^D, this will exit from the terminal mode and return back to device prompt.


MD5 check:


Upgrade software:


Rollback software:


Hardware - first things first:


OP Script - Love JunOS (lovejunos.slax):

After download it, just upload it in the directory /var/db/scripts/op/ of your MX and activate the script by entering the following command:


Show physical interfaces:


Version with haiku:

Check random "phrases" at the end of the output


 
 
 

Recent Posts

See All

Juniper | Recovery Root Password

Recovering Root Password for Juniper Devices can be done in few simple steps. ➪ This procedure is applicable for Juniper MX, M, EX, SRX,...

Managing Junos using Rest API

The Managing Junos Devices using REST API learning byte demonstrates how to manage Junos devices using REST API. Since most programming...

Junos-PythonEZ | XcvrTable & Counter

The following script show how to using Junos PyEZ "XcvrTable" and "Counter" widget to get the number of transceivers on the Junos router...

Comments


Programming and IT solutions guide on STENGE.info blog
Cybersecurity and Networking tutorials on STENGE.info
IT infrastructure solutions and technology tutorials
STENGE.info logo - Tech Blog for IT Solutions and Tutorials
bottom of page