Connecting and Configuring an EX-series Switch (CLI Procedure)
There are two ways to connect and configure an EX 3200 or EX 4200 switch: one method is through the console using the CLI and the other is using the J-Web interface. This section describes the CLI procedure.
To configure the switch from the console:
- Connect the console port to a laptop or PC using the RJ-45 to DB-9 serial port adapter. The RJ-45 cable and RJ-45 to DB-9 serial port adapter are supplied with the switch.
- At the shell prompt type ezsetup.
- Enter the hostname. This is optional.
- Enter the root password. You are prompted to re-enter the root password.
- Enter yes to enable
services like Telnet and SSH. By default, Telnet is not enabled and
SSH is enabled.
Note: When Telnet is enabled, you will not be able to log into an EX 3200 or EX 4200 switch via Telnet using 'root' credentials. Root login is allowed only for SSH access.
- Next, select one of the switch management options:
Configure in-band management. In this scenario you have the following two options:
- Use the default VLAN.
- Create a new VLAN—If you select this option, you are prompted to specify the VLAN name, VLAN ID, management IP address, default gateway. Select the ports that must be part of this VLAN.
- Configure out-of-band management. Specify the IP address and gateway of the management interface. Use this IP address to connect to the switch.
- Configure in-band management. In this scenario you have the following two options:
- Specify the SNMP Read Community, Location, and Contact to configure SNMP parameters. These parameters are optional.
- Specify the system date and time. Select the time
zone from the list. These options are optional.
The configured parameters are displayed. Enter yes to commit the configuration.
The configuration is committed as the active configuration for the switch. You can now log in with the CLI or the J-Web interface to continue configuring the switch. If you use the J-Web interface to continue configuring the switch, the Web session is redirected to the new management IP address. If the connection cannot be made, the J-Web interface displays instructions for starting a J-Web session.