Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Step 2: Up and Running

Now that the QFX5700 is powered on, let’s do some initial configuration to get it up and running on the network. It’s simple to provision and manage the QFX5700 using the CLI.

Plug and Play

The QFX5700 switch ships with factory-default settings that enable plug-and-play operation. These settings load as soon as you power on the QFX5700 switch.

Customize the Basic Configuration

You can easily customize the factory-default configuration using CLI commands. Initially, you’ll need to make changes through the console port. After you configure the management port, you can access the device using SSH to make additional configuration changes. You can revert to the factory-default configuration whenever you want.

Have the following information ready before you begin to configure custom settings for the switch:

  • Hostname

  • Root authentication password

  • Management port IP address

  • Default gateway IP address

  • (Optional) SNMP read community, location, and contact information

  1. Verify that your laptop or desktop PC has these default serial port settings:

    • Baud Rate—9600

    • Flow Control—None

    • Data—8

    • Parity—None

    • Stop Bits—1

    • DCD State—Disregard

  2. Connect the console port on the QFX5700 to a laptop or desktop PC using an RJ-45 cable and RJ-45 to DB-9 adapter (not provided).


    If your laptop or desktop doesn't have a serial port, use a serial-to-USB adapter (not provided).

  3. At the Junos OS Evolved login prompt, type root to log in. You don't need to enter a password. If the software booted before you connected the laptop or desktop 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 for 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 IP address and prefix length for the management port on the switch.


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

  9. Create a routing instance.

  10. Configure the static routes to remote prefixes.

  11. Enable the management instance.

  12. Enable Telnet service if needed.


    When Telnet is enabled, you can’t log in to the QFX5700 through Telnet using root credentials. Root login is allowed only for SSH access.

  13. Enable SSH service.

  14. To allow users to log in to the switch as root through SSH, include the root-login statement.


    By default, users are not allowed to log in to the switch as root through SSH.

  15. Commit the configuration. Your changes become the active configuration for the switch.