This article explains how to bring qfx5120 console connection.
Before you connect and configure a QFX5120, set the following parameter values on the console server or desktop PC:
Ensure that you have the following parts and tools available:
You can use below doc for more details.
https://www.juniper.net/documentation/us/en/hardware/qfx5120/topics/topic-map/qfx5120-configure-junos-os.html