Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Perform Initial Configuration for the QFX5700 Switch

Before You Start

Before you begin connecting and configuring an QFX5700 switch, set the following parameter values on the console server or PC.

  • Baud Rate—9600

  • Flow Control—None

  • Data—8

  • Parity—None

  • Stop Bits—1

  • DCD State—Supported


When console is supported with DCD, TOD functionality cannot be supported. Console without DCD and TOD can be simultaneously supported when you use Y cable.

You must perform the initial configuration of an QFX5700 switch through the console port by using the command-line interface (CLI).

Enter Configuration Mode

  1. Check that the QFX5700 has power.
  2. Connect the console port to a laptop or PC using an RJ-45 cable and RJ-45 to DB-9 adapter. The console (CON) port is located on the RCB of the switch.
  3. 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.
  4. Start the CLI.
  5. Enter configuration mode.
  6. Add a password to the root administration user account.
  7. (Optional) Configure the name of the switch. If the name includes spaces, enclose the name in quotation marks (“ ”).
  8. Configure the default gateway.
  9. Configure the IP address and prefix length for the switch management interface.

    Although the CLI permits you to configure two management Ethernet interfaces within the same subnet, only one interface is usable and supported.


    The management ports, em0 or re0:mgmt-0 (MGMT for RJ-45 connections) and em1 (also labeled MGMT for fiber connections), are found on the front of the RCBs of the QFX5700 switch.

    We no longer include the RJ-45 console cable with the DB-9 adapter as part of the device package. If the console cable and adapter are not included in your device package, or if you need a different type of adapter, you can order the following separately:
    • RJ-45 to DB-9 adapter (JNP-CBL-RJ45-DB9)
    • RJ-45 to USB-A adapter (JNP-CBL-RJ45-USBA)
    • RJ-45 to USB-C adapter (JNP-CBL-RJ45-USBC)

    If you want to use RJ-45 to USB-A or RJ-45 to USB-C adapter you must have X64 (64-Bit) Virtual COM port (VCP) driver installed on your PC. See, to download the driver.

  10. (Optional) Configure the static routes to remote prefixes with access to the management port.
  11. Enable services such as SSH and Telnet.

    You will not be able to log in to the switch as the root user through Telnet. Root login is allowed only through SSH.

  12. Commit the configuration to activate it on the switch.