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.

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.

Provision

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:

Customize the Basic Configuration Using the CLI

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

  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 to a laptop or desktop PC using the Ethernet cable and the RJ-45 to DB-9 serial port adapter (not provided). If your laptop or desktop PC doesn't have a serial port, use a serial-to-USB adapter (not provided).
  3. 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.

  4. Start the CLI.
  5. Enter configuration mode.
  6. 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.
  7. 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.
  8. Activate the current configuration to stop ZTP messages on the console.
  9. Configure the hostname.
  10. 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.
    Note:

    The management port vme (labeled MGMT) is on the front panel of the EX2300-C switch.

  11. Configure the default gateway for the management network.
  12. 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 via SSH.
  13. Optional: Configure the IP address of a DNS server.
  14. Optional: Configure an SNMP read community.
  15. Optional: Continue customizing the configuration using the CLI. See the Getting Started Guide for Junos OS for more details.
  16. Commit the configuration to activate it on the switch.
  17. When you’ve finished configuring the switch, exit configuration mode.