Junos
Highlighted
Junos

First time Setup

2 weeks ago

Hi. I have a QFX 5110-48S switch. I started it to check the serial number for generating the license, but I had to go to a meeting, therefore I had to switch it off. I didn't setup the root password. Now I am not able to start it. It runs FreeBSD and requires the login and password. I don't know how to run the initial setup process. Can you help me?

7 REPLIES 7
Highlighted
Junos

Betreff: First time Setup

2 weeks ago

Hello,

 

the default login user after booting it the first time is "root" without a password, then you see the shell console. To get into the CLI, you have to type "cli". Please check if this works for you.

--------------------------------------------------

If this solves your problem, please mark this post as "Accepted Solution".
If you think that my answer was helpful, please spend some Kudos.
Highlighted
Junos

Re: First time Setup

2 weeks ago

Hi,

 

you should be able to login using only the username root , without entering password if it is default factory setting 

 

If this solves your problem, please mark this post as "Accepted Solution.

Regards,
A.A.
Highlighted
Junos

Betreff: First time Setup

2 weeks ago

login incorrect for root with empty password and with password "root"

Highlighted
Junos

Betreff: First time Setup

2 weeks ago

Hi g_rahmatov,

 

You can try performing a root password recovery. Please refer for details below:

https://www.juniper.net/documentation/en_US/junos/topics/topic-map/recovering-root-password.html

 

For EX/QFX, the below KB should help:

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

 

Hope this helps Smiley Happy

 

Please mark "Accepted Solution" if this helps you solve your query.

Kudos are always appreciated!

Highlighted
Junos

Betreff: First time Setup

2 weeks ago

Hello g_rahmatov,

 

you can follow the below process to get in the device:

 

>power off the device manually.

>power on the device and device will start to boot up. You can recover the root password during the boot-up by following the below KB:

[EX/QFX] Password recovery procedure

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

 

If you need any help with the above recovery process, you can open a JTAC ticket.

 

I hope this helps. Please mark this post "Accept as solution" if this answers your query.

 

Kudos are always appreciated! Smiley Happy

 

Best Regards,

Lingabasappa H

 

Highlighted
Junos

Re: First time Setup

2 weeks ago

Hi g_rahmatov

 

Good day!!

 

Please have look on complete procedure.

 

To connect and configure the switch from the console:
1. Connect the console port to a laptop or PC by using the provided RJ-45 cable and
RJ-45 to DB-9 serial port adapter. The console (CON) port is located on the
management panel of the switch.
2. Log in as root. There is no password. If the software booted before you connected
to the console port, you might need to press the Enter key for the prompt to appear.
login: root
3. Start the CLI.
root@% cli
4. Enter configuration mode.
root> configure
5. Add a password to the root administration user account.
[edit]
root@# set system root-authentication plain-text-password
New password: password
Retype new password: password
6. (Optional) Configure the name of the switch. If the name includes spaces, enclose
the name in quotation marks (“ ”).
[edit]
root@# set system host-name host-name
7. Configure the default gateway.
[edit]
root@# set routing-options static route default next-hop
address
8. Configure the IP address and prefix length for the switch management interface.
[edit]
root@# set interfaces em0 unit 0 family inet address
address/prefix-length
NOTE: The management ports, em0 (C0) and em1 (C1), are located on the FRU end of
the QFX5110-48S.
9. (Optional) Configure the static routes to remote prefixes with access to the
management port.
[edit]
root@# set routing-options static route remote-prefix next-hop
destination-ip retain no-readvertise
10. Enable Telnet service.
[edit]
root@# set system services telnet
11. Enable SSH service.
[edit]
root@# set system services SSH
12. Commit the configuration to activate it on the switch.
[edit]
root@# commit

 

https://www.juniper.net/documentation/en_US/release-independent/junos/information-products/pathway-p...

 

 

Please mark "Accepted Solution" if this helps.

Kudos are always appreciated

 

Thanks 

Suraj 

Highlighted
Junos
Solution
Accepted by topic author g_rahmatov
a week ago

Betreff: First time Setup

2 weeks ago

If the issue persists after using 'root' and no password follow the documentation for password recovery and you'll be fine.

 

Cheers

Benjamin