Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Connecting and Configuring an EX Series Switch (J-Web Procedure)

You can configure an EX Series switch using either the J-Web interface or the console using the CLI.

Starting in Junos OS Release 22.3R1, J-Web supports EX4400 switches.

Starting in Junos OS Release 22.4R1, J-Web supports EX4100 and EX4100-F switches.

Starting in Junos OS Release 23.1R1, J-Web supports EX4400-24X switches.

Starting in Junos OS Release 23.2R1, J-Web supports EX4400-EM-1C uplink module for EX4400 and EX4400-24X switches.

Have these values handy before you begin customizing settings for the switch:

  • Hostname

  • Root authentication password

  • Management port IP address

  • Default gateway IP address

  • (Optional) DNS server and SNMP read community

Here’s how to configure Junos OS for the first time starting from the factory default configuration:

  1. Before you connect and configure a 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

  2. Power on the device.
  3. Connect the Ethernet cable from the Ethernet port on the PC to the switch.
    • EX2200, EX3200, or EX4200 switch—Connect the cable to port 0 (ge-0/0/0) on the front panel of the switch.

    • EX2300 switches except the EX2300-C, EX2300-24MP, and EX2300-48MP switches, EX3300, EX4100, and EX4100-F switches—Connect the cable to the port labeled MGMT on the rear panel of the switch.

    • EX2300-C, EX2300-24MP, EX2300-48MP, EX4400-24X, EX4500, or EX4550 switch—Connect the cable to the port labeled MGMT on the front panel (LCD panel side) of the switch.

    • EX4650 or EX4400 switches—Connect the cable to the port labeled CON on the rear panel of the switch.

    • EX6200 switch—Connect the cable to one of the ports labeled MGMT on the Switch Fabric and Routing Engine (SRE) module in slot 4 or 5 in an EX6210 switch.

    • EX8200 switch—Connect the cable to the port labeled MGMT on the Switch Fabric and Routing Engine (SRE) module in slot SRE0 in an EX8208 switch or on the Routing Engine (RE) module in slot RE0 in an EX8216 switch.

  4. At the Junos OS login prompt, type root to log in.

    You don't need to enter a password. If the software boots before you connect your laptop or desktop PC to the console port, you might need to press the Enter key for the prompt to appear.

    Note:

    EX switches running current Junos software are enabled for Zero Touch Provisioning (ZTP). However, when you configure an EX switch for the very first time, you’ll need to disable ZTP. We show you how to do that here. If you see any ZTP-related messages on the console, just ignore them.

  5. Start the CLI.
  6. Enter configuration mode.
  7. Delete the ZTP configuration. Factory default configurations can vary over different releases. You may see a message that the statement does not exist. Don’t worry, it’s safe to proceed.
  8. Add a password to the root administration user account. Enter a plain-text password, an encrypted password, or an SSH public key string. In this example, we show you how to enter a plain-text password.
  9. Activate the current configuration to stop ZTP messages on the console.
  10. Configure the hostname.
  11. Configure the IP address and prefix length for the management interface on the switch. As part of this step, you remove the factory default DHCP setting for the management interface.
  12. Configure the default gateway for the management network.
  13. Configure the SSH service. By default, the root user cannot login remotely. In this step, you enable the SSH service and also enable root login through SSH.
  14. Configure the Web management access.
  15. Optional: Configure the IP address of a DNS server.
  16. Optional: Configure an SNMP read community.
  17. Optional: Continue customizing the configuration using the CLI.
  18. Commit the configuration to activate it on the switch.
  19. When you've finished configuring the switch, exit configuration mode.
  20. From the laptop or PC, open a Web browser, type the IP address that you configured in the Step 11 in the address field, and then press Enter.
    The J-Web Login page appears.
  21. Enter the root username and password and click Login to view the Configure Options page.
    You can continue to configure the switch.