Copyright © 2017, Juniper Networks, Inc.
This procedure connects the switch to the network, but does not enable it to forward
traffic. For complete information about enabling the switch to forward traffic, including
examples, see the Junos OS configuration guides.
To configure the software:
Verify that the switch is powered on.
1.
Log in as the root user. There is no password.
2.
Start the CLI.
3.
root# cli
root@>
Enter configuration mode.
4.
cli> configure
[edit]
root@#
Set the root authentication password by entering either a clear-text password, an
5.
encrypted password, or an SSH public key string (DSA or RSA).
[edit]
root@# set system root-authentication plain-text-password
New password: password
Retype new password: password
or
[edit]
root@# set system root-authentication encrypted-password encrypted-password
or
[edit]
root@# set system root-authentication ssh-dsa public-key
or
[edit]
root@# set system root-authentication ssh-rsa public-key
Configure the name of the switch. If the name includes spaces, enclose the name in
6.
quotation marks (" ").
[edit]
root@# set system host-name host-name
Create a user account.
7.
[edit]
root@# set system login user user-name authentication plain-text-password
New password: password
Retype new password: password
Chapter 14: Performing Initial Configuration
173