Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Perform Initial Software Configuration for QFX5241-64OD and QFX5241-64QD Switches

Before you connect and configure QFX5241-64OD and QFX5241-64QD switches, 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—Disregard

You must perform the initial configuration of the QFX5241-64OD and QFX5241-64QD switches through the console port using the CLI or through zero-touch provisioning (ZTP). In order to use ZTP to provision the device, you must have access to the following:

  • Dynamic Host Control Protocol (DHCP) server—Provides the location of the software image and configuration files on the network.

  • File Transfer Protocol (anonymous FTP), Hypertext Transfer Protocol (HTTP), Hypertext Transfer Protocol Secure (HTTPS), or Trivial File Transfer Protocol (TFTP) server—Stores the software image and configuration files.

For more information about using ZTP for provisioning the device, see Understanding Zero Touch Provisioning in the Installation and Upgrade Guide.

To connect and configure the switch from the console:

  1. Connect the console port to a laptop or PC using an RJ-45 cable and an RJ-45-to-DB-9 adapter. The console (CON) port is located on the right side of the port panel, below the MGMT port.
    Note:

    We no longer include the RJ-45 console cable with the DB-9 adapter as part of the device package. Check if any of the console cables and adapters are included in your device package. If you need a console cable or 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, https://ftdichip.com/drivers/vcp-drivers/ to download the driver.

  2. Log in as root. You don't need to enter a 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.
  3. Start the CLI.
  4. Enter configuration mode.
  5. Add a password to the root administration user account.
  6. (Optional) Configure the name of the switch. If the name includes spaces, enclose the name in quotation marks (“ ”).
  7. Configure the IP address and prefix length for the switch management interface.
    CAUTION:

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

    Note:

    On the QFX5241-64OD and QFX5241-64QD switches, the management port re0:mgmt-0 is the RJ-45 port on the top right side of the port panel and is labeled MGMT.

  8. Create the mgmt_junos routing instance, and configure the static routes to remote prefixes with access to the management port.
  9. Enable the management instance.
  10. Enable the Telnet service.
    Note:

    When Telnet is enabled, you cannot log in to QFX5241-64OD and QFX5241-64QD switches through Telnet using root credentials. Root login is allowed only for SSH access.

  11. Enable SSH service for root login.
  12. Commit the configuration to activate it on the switch.