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

 Note

To run the EZSetup script, the switch must have the factory-default configuration as the active configuration. If you have configured any configuration on the switch and want to run EZSetup, see the documentation at https://www.juniper.net/documentation/en_US/release-independent/junos/topics/task/configuration/ex-series-switch-default-factory-configuration-reverting.html to revert to the factory-default configuration.

To connect and configure the switch from the console:

  1. Set the following values on 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.Note

    You can also use the mini-USB port on the front panel to connect the switch to a laptop or PC (see the documentation at https://www.juniper.net/documentation/en_US/release-independent/junos/topics/task/installation/port-ex-series-mini-usb-management-console-connecting.html).

  3. At the Junos OS shell prompt root%, type ezsetup.
  4. (Optional) Enter the hostname.
  5. Enter the root password that you want to use for this device.
  6. When prompted, reenter the password.
  7. Enable the SSH and Telnet services.

    Note

    You will not be able to log in to the switch as the root user through Telnet. Root login is allowed only through SSH.

    • The default option for SSH is yes. Press Enter to accept the default option and enable SSH.

    • The default option for Telnet is no. At the prompt, enter yes and press Enter to enable Telnet.

  8. 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.

  9. (Optional) Specify the SNMP read community, location, and contact to configure SNMP parameters.
  10. (Optional) Specify the system date and time. Select the time zone from the list.

    The configured parameters are displayed.

  11. 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.