Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Perform Initial Software Configuration for QFX5130 Switches

date_range 16-Dec-24

Before you connect and configure a QFX5130 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—Disregard

You must perform the initial configuration of the QFX5130 switch through the console port by using the CLI or through zero-touch provisioning (ZTP). To use ZTP to provision the device, you must have access to a Dynamic Host Control Protocol (DHCP) server, an anonymous FTP, HTTP, or a Trivial File Transfer Protocol (TFTP) server on which the software image and configuration files are stored. For more information about using ZTP to provision 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 a PC by using an RJ-45 cable and an RJ-45 to DB-9 adapter. The console (CON) port is located on the top-right corner of the port panel.
  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.
    content_copy zoom_out_map
    login: root
  3. Start the CLI.
    content_copy zoom_out_map
    root@% cli
  4. Enter configuration mode.
    content_copy zoom_out_map
    root> configure
  5. Add a password to the root administration user account.
    content_copy zoom_out_map
    [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 (“ ”).
    content_copy zoom_out_map
    [edit]
    root@# set system host-name host-name
  7. Configure the IP address and the prefix length for the switch management interface.
    content_copy zoom_out_map
    [edit]
    root@# set interfaces re0:mgmt-0 unit 0 family inet address address/prefix-length
    Note:
    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, https://ftdichip.com/drivers/vcp-drivers/ to download the driver.

    Note:

    On the QFX5130-32CD/QFX5130E-32CD switch, the management port re0:mgmt-0 is the bottom RJ-45 port on the right side of the port panel and is labeled MGMT. On the QFX5130-48C/QFX5130-48CM switch, the management port re0:mgmt-0 is located on the rear panel towards left hand side and the port on top is the management port, 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.
    content_copy zoom_out_map
    [edit]
    root@# set routing-instances mgmt_junos routing-options static route 0/0 next-hop destination-ip
  9. Enable the management instance.
    content_copy zoom_out_map
    [edit]
    root@# set system management-instance
  10. Enable Telnet service.
    content_copy zoom_out_map
    [edit]
    root@# set system services telnet 
    Note:

    When Telnet is enabled, you cannot log in to a QFX5130 switch through Telnet by using root credentials. Root login is allowed only for SSH access.

  11. Enable SSH service for root login.
    content_copy zoom_out_map
    [edit]
    root@# set system services ssh root-login allow  
  12. Commit the configuration to activate it on the switch.
    content_copy zoom_out_map
    [edit] 
    root@# commit
footer-navigation