You are on page 1of 3

Log in to the switch as an existing user or as the default user (root with no

password). Enter configuration mode:

root@switch> configure
[edit]
root@switch#

The prompt in brackets ([edit]), also known as a banner, shows that you are in
configuration edit mode, at the top of the hierarchy.

Change to the [edit system login] section of the configuration:

[edit]
root@host# edit system login
[edit system login]
root@switch#

The prompt in brackets changes to [edit system login] to show that you are at a
new level in the hierarchy.

Now add a new user account:

[edit system login]


root@switch# edit user michael

This example adds an account "michael," but you can use any account name.

Configure a full name for the account. If the name includes spaces, enclose the
entire name in quotation marks ( " " ):

[edit system login user michael]


root@switch# set full-name "Michael Mike"

Configure an account class. The account class sets the user access privileges
for the account.

[edit system login user michael]


root@switch# set class super-user

The following access privileges are available for the account:

operator permissions [ clear network reset trace view ]


read-only permissions [ view ]
super-user permissions [ all ]
unauthorized permissions [ none ]

Configure an authentication method and password for the account:

[edit system login user michael]


root@switch# set authentication plain-text-password
New password:
Retype new password:

When the new password prompt appears, enter a clear-text password that the
system will encrypt, and then confirm the new password.

Commit the configuration:


[edit system login user michael]
root@switch# commit
commit complete

Configuration changes are not activated until you commit the configuration. If
the commit is successful, a commit complete message appears.

Return to the top level of the configuration, and then exit:

[edit system login user michael]


root@switch# top
[edit]
root@switch# exit
Exiting configuration mode

Log out of the switch:

root@switch> exit
% logout Connection closed.

To test your changes, log back in with the user account and password that you
just configured:

login: michael
Password: <password>
--- JUNOS 9.0-R1.1 built 2008-01-15 22:42:19 UTC
michael@switch>

When you log in, you should see the new username at the command prompt.

https://kb.juniper.net/InfoCenter/index?page=content&id=KB10902&actp=METADATA

https://kb.juniper.net/InfoCenter/index?page=content&id=KB16657&actp=METADATA

https://protechgurus.com/basic-juniper-router-configuration-junos-commands/

https://steemit.com/utopian-io/@mugurcagdas/how-to-configure-juniper-switch-
with-gns3-virtualbox-1

https://www.mustbegeek.com/category/juniper/routing-and-switching-
juniper/jncia/#.XuPHIedxXIU

https://jncie.files.wordpress.com/2009/10/jsf2_do_junos_basics_-_second.pdf

https://grumbl.org/juniperdayone/Exploring%20the%20Junos%20CLI.pdf

https://cogenesis.com.au/blog/how-to-change-the-root-password-on-a-juniper-
srx

https://www.examtopics.com/exams/juniper/jn0-102/view/2/

https://www.youtube.com/watch?v=kw_VD_P4Es0
11111111 11111111 111 00000 00000000

You might also like