• Diniz Martins

JunOS | Tips & Tricks

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

45 views0 comments

Recent Posts

See All

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 languages can communicate with REST API , programmers can easily

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 on a fast way. In this case, I used a router Juniper model MX 4

Junos-PythonEZ (PyEZ) | Connection

Junos PyEZ is a microframework for Python that enables you to manage and automate devices running the Junos operating system (Junos OS). Junos PyEZ is designed to provide the capabilities that a user