Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Configure a QFX5100 Device

 

The initial configuration of QFX5100 switches running Juniper Networks Junos OS are configured through the console port using the command-line interface (CLI). QFX5100-48SH and QFX5100-48TH are preconfigured Satellite Network Operational System (SNOS) software. SNOS systems are configured at the aggregation device (AD). This topic covers:

Configuring a QFX5100 for Junos OS

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

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.
    [edit]
    root@# set routing-options static route default next-hop address


  8. Configure the IP address and prefix length for the switch management interface.
    [edit]
    root@# set interfaces em0 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

    The management ports, em0 (C0) and em1 (C1) are found on the FRU end of the QFX5100 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 QFX5100 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


Configuring QFX10000 Switches for QFX5100-SH and QFX5100-TH as Satellite Devices

Satellite software is pre-installed on the device. All configuration for the QFX5100-48SH and QFX5100-48TH is performed at the QFX10000 aggregation device (AD).

To add the QFX5100-48SH or QFX5100-48TH to a Junos Fusion as a satellite device:

  1. Log in to the Junos Fusion aggregation device (the QFX10000 switch).Note

    The aggregation device must be configured with a Junos Fusion software license.

  2. Configure the interface on the aggregation device that will connect to the satellite device as a cascade port. For a list of QFX10000 line cards that support having interfaces configured into cascade ports, and for the related OS Junos releases that support cascade ports, see the Junos Fusion documentation at https://www.juniper.net/documentation/.

    For example, to configure interface xe-0/0/1 as a cascade port interface:

  3. Associate a line card slot ID (also known as a FPC slot ID) with the QFX5100-48SH or QFX5100-48TH.

    There are many ways to associate a line card with a satellite device. See the Junos OS for the QFX Series documentation at https://www.juniper.net/documentation/. The following are some examples.

    To map FPC slot ID 100 with the satellite device by using the interface xe-0/0/1, which is configured as the cascade port:

    To map FPC slot ID 101 with the satellite device by using the serial number ABCDEFGHIJKL of the satellite device:

    To map FPC slot ID 102 with the satellite device by using the MAC address 12:34:56:AB:CD:EF of the satellite device:

  4. Commit the configuration on the Routing Engines of the QFX10000.
  5. (Optional but recommended) Add the satellite device to a satellite software upgrade group that uses the same version of the satellite software that is installed on the QFX5100-48SH or QFX5100-48TH.
  6. Connect the cascade port interface configured on the QFX10000 in step 2 to the QFX5100-48SH or QFX5100-48TH.