Tuesday 6 December 2016

Connecting and Configuring an EX Series Switch - CLI Procedure

Using the CLI, set the following parameter values in the console server or PC:
  • Baud rate—9600
  • Flow control—None
  • Data—8
  • Parity—None
  • Stop bits—1
  • DCD state—Disregard
1. To connect and configure the switch from the console by using the CLI:
Connect the console port to a laptop or PC by using the RJ-45 to DB-9 serial port adapter. An Ethernet cable that has an RJ-45 connecter at either end and an RJ-45 to DB-9 serial port adapter are supplied with the switch.

  1. At the Junos OS shell prompt root%, type ezsetup.
  2. Enter the hostname. This is optional.
  3. Enter the root password you want to use for the device. Reenter the root password when prompted.
  4. Enable services such as SSH and Telnet.
    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. Select this to enable SSH.
    • The default option for Telnet is no. Change this to yes to enable Telnet.
  5. Use the Management Options page to select the management scenario:
    Note: On EX4500, EX6200, and EX8200 switches, only the out-of-band management option is available.
    • Configure in-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, you have the following two options:
      • Use the automatically created VLAN default for management—Select this option to configure all data interfaces as members of the default VLAN. Specify the management IP address and the default gateway.
      • Create a new VLAN for management—Select this option to create a management VLAN. Specify the VLAN name, VLAN ID, management IP address, and default gateway. Select the ports that must be part of this VLAN.
    • Configure out-of-band management—Configure the management port. 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.
  6. Specify the SNMP read community, location, and contact to configure SNMP parameters. These parameters are optional.
  7. Specify the system date and time. Select the time zone from the list. These options are optional.
  8. The configured parameters are displayed. Enter yes to commit the configuration. The configuration is committed as the active configuration for the switch.
  9. (For EX4500 switches only) Enter the operational mode command request chassis pic-mode intraconnect to set the PIC mode to intraconnect.
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.
loading...