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-pages/hardware/qfx-series/quick-start-qfx5110-48S.pdf
Please mark "Accepted Solution" if this helps.
Kudos are always appreciated
Thanks
Suraj