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:
Ensure that you have the following parts available before you begin to connect the switch to the modem:
This topic describes:
Before you can connect the switch to a modem, the switch’s serial console speed must be set to 115200 baud.
![]() | Note: The default serial console speed is 9600 baud. |
To change the serial console speed:
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.
loader> set baudrate=115200Press Enter.
Switch baud rate to 115200 bps and press Enter.The loader> prompt reappears.
loader> savePress Enter. The serial console speed is now set to 115200 baud.
loader> bootThe boot process proceeds as normal and ends with a login prompt.
Before you connect the modem, you must configure the modem with the required port settings.
![]() | Note: 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:
Table 1: Port Settings
Port Settings | Value |
|---|---|
Bits per second | 115200 |
Data bits | 8 |
Parity | None |
Stop bits | 1 |
Flow control | None |
The modem sends an OK response to verify that it can communicate successfully with the COM port on your desktop or notebook computer.
![]() | 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. |
The modem sends an OK message. The modem is now ready to be connected to the switch.
The console port on every EX Series switch accepts a cable with an RJ-45 connector. Figure 1 shows the RJ-45 connector of the Ethernet cable supplied with the switch.
Figure 1: Ethernet Cable Connector

![]() | Note: If your laptop or PC does not have a DB-9 male 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 female adapter supplied with the switch and a USB to DB-9 male adapter. You must provide the USB to DB-9 male adapter. |
![]() | Note: 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:
For the location of the console port on different EX Series switches: