Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Step 2: Up and Running


Now that the EX2300-C switch is powered on, let’s do some initial configuration to get the switch up and running on your network. It’s simple to provision and manage the EX2300-C switch and other devices on your network. You can choose the configuration tool that’s right for you:

Plug and Play

The EX2300-C switches already have factory-default settings configured right out of the box to make them plug-and-play devices. The default settings are stored in a configuration file that:

  • Sets values for system parameters, such as syslog and commit

  • Configures Ethernet switching on all interfaces

  • Enables IGMP snooping

  • Enables the LLDP and RSTP protocols

These settings load as soon as you power on the EX2300-C switch. If you want to see what’s in the factory-default configuration file for your EX2300-C switch, see EX2300 Switch Default Configuration.

Customize the Basic Configuration

You can easily customize the basic configuration with just a few commands. When you commit changes to the configuration, a new configuration file is created. This becomes the active configuration. You can always revert to the factory-default configuration anytime you want.

To customize the basic settings for the EX2300-C switch using the CLI, have these values handy:

  • Hostname

  • Root authentication password

  • Management port IP address

  • Default gateway IP address

  1. Verify that the serial port settings for your laptop or desktop PC are set to the default:
    • Baud rate—9600

    • Flow control—None

    • Data—8

    • Parity—None

    • Stop bits—1

    • DCD state—Disregard

  2. Connect the console port on the EX2300-C switch to a laptop or desktop PC using the Ethernet cable and the RJ-45 to DB-9 serial port adapter that came in the box with the switch.Note

    If your laptop or desktop PC doesn't have a serial port, use a serial-to-USB adapter (not provided).


    To run the ezsetup script, the EX2300-C switch must have the factory-default configuration as the active configuration. If you have configured anything on the switch and want to run ezsetup, you’ll need to revert to the factory-default configuration. See Reverting to the Default Factory Configuration for the EX Series Switch.

  3. At the Junos OS login prompt, type root to log in.
  4. Type ezsetup to initiate the EZSetup wizard.
  5. (Optional) Type the system hostname.
  6. Type the new root password that you want to use for the EX2300-C switch. Reenter the password when prompted.
  7. Type yes to enable Telnet service.

  8. Type yes to enable SSH service. Note

    You can’t log in as the root user when Telnet is enabled for the MGMT port. You can only log in as the root user through SSH.

  9. Choose in-band management [Option 1]. This is the default.
  10. Choose Use VLAN “default” for management [Option 1]. When you use the Default VLAN, all devices you connect to the switch are placed into this VLAN. They can begin transmitting traffic on the network without further switch configuration.
  11. Type the management port IP address.
  12. Type the submask.
  13. Type the gateway IP address.
  14. (Optional) Configure SNMP settings and the time zone.
  15. When the configured parameters are shown on the screen, type yes to commit the new configuration. This becomes the active configuration for the EX2300-C switch.

You can now log in to the EX2300-C switch with the CLI and continue customizing the configuration.