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.
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