In this article I want to show you how to do a basic configuration of a juniper router.
You should be connected to the Routers CLI.

Resetting the Router

The first thing we will do is reset the router to the factory defaults.
To do this type in operational mode request system zeroize.

This can take 10 Minutes or longer.

Change the Passwort

When the system has been resetted we will change the root password.
Do this by using the command set system root-authentication plain-text-password in config mode.

Don’t forget to commit, otherwise your changes will not have any effect!