Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Part 5: Perform Initial Configuration

  1. Before you begin, set the following parameter values in the console server or PC:

    • Baud rate—9600

    • Flow control—none

    • Data—8

    • Parity—none

    • Stop bits—1

    • DCD state—disregard

  2. Connect the console port on the rear panel of the switch to a laptop or PC by using the RJ-45 to DB-9 serial port adapter. The console (CON) port is located on the management panel of the switch.
  3. 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

  4. Start the CLI.

    root@% cli

  5. To change the personality of the switch to EX4650:
    • Enter configuration mode.

      root> configure

    • Install the EX4650 software package.

      root# request system software add /var/tmp/jinstall-host-ex-4e-flex-x86-64-18.3R1.11-secure-signed.tgz force-host reboot

    • Login as root. There is no password.

      login root

    • Verify if the device is changed to EX4650 personality.

      root> show version

    • Delete the EX Series software image from the /var/tmp if required.

  6. Add a password to the root administration user account.


    root@# set system root-authentication plain-text-password

    New password: password

    Retype new password: password

  7. (Optional) Configure the name of the switch. If the name includes spaces, enclose the name in quotation marks (“ ”).


    root@# set system host-name host-name

  8. Configure the default gateway.


    root@# set routing-options static route default next-hop address

  9. Configure the IP address and prefix length for the switch management interface.


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


    The management ports em0(C0) and (C1)are located on the rear panel of EX4650.

  10. (Optional) Configure the static routes to remote prefixes with access to the management port.


    root@# set routing-options static route remote-prefix next-hop destination-ip retain no-readvertise

  11. Enable Telnet service.


    root@# set system services telnet

  12. Enable SSH service.


    root@# set system services SSH

  13. Commit the configuration to activate it on the switch.


    root@# commit

  14. Configure in-band management or out-of-band management:

    • In in-band management, you configure a network interface or an uplink module (expansion module) interface as the management interface and connect it to the management device. In this scenario, can do either of the following:

      • Use the automatically created VLAN named default for management of all data interfaces as members of the default VLAN. Specify the management IP address and the default gateway.

      • Create a new management VLAN. Specify the VLAN name, VLAN ID, management IP address, and default gateway. Select the ports that must be part of this VLAN.

    • In out-of-band management, you use a dedicated management channel (MGMT port) to connect to the management device. Specify the IP address and gateway of the management interface. Use this IP address to connect to the switch.

  15. (Optional) Specify the SNMP read community, location, and contact to configure SNMP parameters.
  16. (Optional) Specify the system date and time. Select the time zone from the list. The configured parameters are displayed.
  17. Enter yes to commit the configuration. The configuration is committed as the active configuration for the switch.

You can now log in by using the CLI and continue configuring the switch.