Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Part III. Connect the QFX5200-32C or QFX5200-32C-L to the Nework and Perform Initial Configuration

 

You must perform the initial configuration of the switch through the console port using the CLI or through Zero Touch Provisioning (ZTP). ZTP is not available for QFX5200-32C-L models.

Before you begin connecting and configuring a QFX5200, 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

To connect and configure the switch from the console:

  1. Connect the console port to a laptop or PC using the supplied RJ-45 cable and RJ-45 to DB-9 adapter. The console (CON) port is located on the management panel of the switch.
  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.
    login: root


  3. Start the CLI.
    root@% cli


  4. Enter configuration mode.
    root> configure


  5. Add a password to the root administration user account.
    [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 (“ ”).
    [edit]
    root@# set system host-name host-name


  7. Configure the default gateway.
    • For QFX5200-32C:

      [edit]
      root@# set routing-options static route default next-hop default-gateway-ip-address


    • For QFX5200-32C-L:

      [edit]
      root@# set routing-options static route prefix/prefix-length next-hop default-gateway-ip-address


  8. Configure the IP address and prefix length for the switch management interface.
    • For QFX5200-32C systems:

      [edit]
      root@# set interfaces em0 unit 0 family inet address address/prefix-length


    • For QFX5200-32C-L systems:

      [edit]
      root@# set interfaces re0:mgmt-0 unit 0 family inet address address/prefix-length


    Caution

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

    Note

    On the QFX5200-32C and QFX5200-32C-L, management ports em0 (labeled C0) and em1 (labeled C1) are found on the FRU end of the switch.

  9. (Optional) Configure the static routes to remote prefixes with access to the management port.
    [edit]
    root@# set routing-options static route remote-prefix next-hop destination-ip retain no-readvertise


     

  10. Enable telnet service.
    [edit]
    root@# set system services telnet


    Note

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

  11. Enable SSH service for root login.
    [edit]
    root@# set system services SSH


  12. Commit the configuration to activate it on the switch.
    [edit]
    root@# commit