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:
Juniper Mist. To use Mist, you’ll need an account on the Mist Cloud Platform. See Overview of EX Series Switches and the Juniper Mist Cloud.
Juniper Networks Contrail Service Orchestration (CSO). To use CSO, you’ll need an authentication code. See SD-WAN Deployment Overview in the Contrail Service Orchestration (CSO) Deployment Guide.
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:
Root authentication password
Management port IP address
Default gateway IP address
- Verify that the serial port settings for your laptop or
desktop PC are set to the default:
- 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.
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.
- At the Junos OS login prompt, type root to log in.
- Type ezsetup to initiate the EZSetup wizard.
- (Optional) Type the system hostname.
- Type the new root password that you want to use for the EX2300-C switch. Reenter the password when prompted.
- Type yes to enable Telnet service.
- Type yes to enable SSH service.
You can’t log in as the root user when Telnet is enabled for the
MGMTport. You can only log in as the root user through SSH.
- Choose in-band management [Option 1]. This is the default.
- 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.
- Type the management port IP address.
- Type the submask.
- Type the gateway IP address.
- (Optional) Configure SNMP settings and the time zone.
- 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.