Connecting the EX8200 to External Devices
Connect a Device to a Network for Out-of-Band Management
You can monitor and manage these devices by using a dedicated management channel. Each device has a management port to which you can connect an Ethernet cable with an RJ-45 connector. Use the management port to connect the device to the management device.
Ensure that you have an Ethernet cable that has an RJ-45 connector at either end. Figure 1 shows the RJ-45 connector of the Ethernet cable supplied with the device.

To connect a device to a network for out-of-band management (see Figure 2):
- Connect one end of the Ethernet cable to the management port on the device.
- Connect the other end of the Ethernet cable to the management device.

Connect a Device to a Management Console Using an RJ-45 Connector
You can configure and manage devices using a dedicated management channel. Each device has a console port which you can connect to using an Ethernet cable with an RJ-45 connector. Use the console port to connect the device to the console server or management console. The console port accepts a cable that has an RJ-45 connector.
Ensure that you have an Ethernet cable that has an RJ-45 connector at either end. One such cable and an RJ-45 to DB-9 serial port adapter are supplied with the device.
Figure 3 shows the RJ-45 connector of the Ethernet cable.

If your laptop or PC does not have a DB-9 plug connector pin and you want to connect your laptop or PC directly to the device, use a combination of the RJ-45 to DB-9 socket adapter supplied with the device and a USB to DB-9 plug adapter. You must provide the USB to DB-9 plug adapter.
- Connect one end of the Ethernet cable to the console port
(labeled
CON
,CONSOLE
, orCON1
) on the device. - Connect the other end of the Ethernet cable to the console server (see Figure 4) or management console (see Figure 5).


Connecting an EX8200 Switch to a Modem
You can connect an EX Series switch to a modem through the console port on the switch.
Before you connect the switch to a modem:
Perform the initial setup and configuration of the switch. See Connecting and Configuring an EX Series Switch (CLI Procedure) or Connecting and Configuring an EX Series Switch (J-Web Procedure).
Ensure that you have the following parts available before you begin to connect the switch to the modem:
A modem (not provided)
A desktop or notebook computer (not provided)
An RJ-45 to DB-9 adapter (provided)
A phone cable (not provided)
If your computer does not have a DB-9 plug connector pin, a USB to DB-9 plug adapter (not provided)
An adapter to connect the RS-232 DB-25 connector on the modem to the RJ-45 to DB-9 adapter on the switch (not provided)
Setting the Serial Console Speed for the Switch
Before you can connect the switch to a modem, the switch’s serial console speed must be set to 115200 baud.
The default serial console speed is 9600 baud.
To change the serial console speed:
- Power on the switch. (For EX8208 or EX8216 switch models, see Powering On an EX8200 Switch. For EX6200 switches, see Powering On an EX6200 Switch) The loader script starts.
- You are prompted with:
Hit [Enter] to boot immediately, or space bar for command prompt.
Press the Spacebar to pause the switch in the loader state (after the Junos OS has loaded on the switch but before the software starts).
The loader> prompt appears.
- Set the baud rate:
loader> set baudrate=115200
Press Enter.
- Press Enter when you see the following message:
Switch baud rate to 115200 bps and press Enter.
The loader> prompt reappears.
- Save the new serial console speed:
loader> save
Press Enter. The serial console speed is now set to 115200 baud.
- Boot the software:
loader> boot
The boot process proceeds as normal and ends with a login prompt.
Configuring the Modem
Before you connect the modem, you must configure the modem with the required port settings.
The following procedure uses Hayes-compatible-modem commands to configure the modem. If your modem is not Hayes-compatible, see the documentation for your modem for the equivalent modem commands.
To configure the modem:
- Connect the modem to the desktop or notebook computer.
- Power on the modem.
- From the computer, start your asynchronous terminal emulation application (such as Microsoft Windows HyperTerminal) and select the COM port to which the modem is connected (for example, COM1).
- Configure the port settings shown in Table 1.
Table 1: Port Settings
Port Settings
Value
Bits per second
115200
Data bits
8
Parity
None
Stop bits
1
Flow control
None
- In the HyperTerminal window, type at. Press Enter.
The modem sends an OK response to verify that it can communicate successfully with the COM port on your desktop or notebook computer.
- To configure the modem to answer a call on the first ring, type ats0=1 at the prompt. Press Enter.
- To configure the modem to accept modem-control DTR signals, type at&d1 at the prompt. Press Enter.
- To disable flow control on the modem, type at&k0 at the prompt. Press Enter.
- To set the fixed serial port speed on the modem, type at&b1 at the prompt. Press Enter.
Note You must set the serial port to the fixed speed so that the modem will not adjust the serial port speed to the negotiated line speed.
- To save the new modem settings, type at&w0 at the prompt. Press Enter.
The modem sends an OK message. The modem is now ready to be connected to the switch.
Connecting the Modem to the Console Port
The console port on an EX Series switch accepts a cable with an RJ-45 connector. Figure 6 shows the RJ-45 connector of the Ethernet cable supplied with the switch.

If your laptop or PC does not have a DB-9 plug connector pin and you want to connect your laptop or PC directly to the switch, use a combination of the RJ-45 to DB-9 socket adapter supplied with the switch and a USB to DB-9 plug adapter. You must provide the USB to DB-9 plug adapter.
Most modems have an RS-232 DB-25 connector. You must separately purchase an adapter to connect your modem to the RJ-45 to DB-9 adapter and Ethernet cable supplied with the switch.
To connect a modem to the console port:
- Turn off power to the switch.
- Turn off power to the modem.
- Connect one end of the cable to the console port (labeled CON or CONSOLE) on the switch.
For the location of the console port on the EX Series switches:
- Connect the other end of the cable to the RJ-45 to DB-9 serial port adapter supplied with your switch.
- Connect the serial port adapter to the DB-9 socket to DB-25 plug adapter or other adapter appropriate for your modem.
- Plug the modem adapter into the DB-25 connector on the modem.
- Connect one end of the phone cable to the modem and the other end to your telephone network.
- Turn on the power to your modem.
- Power on the switch.