Connecting the Console Port to a PC
This document covers tasks associated with connecting a console port to a PC, and includes the following topics:
•
Console (rollover) Cable and Adapters•
Making the physical connection•
Connecting using HyperTerminal•
Troubleshooting console port problemsConsole (
rollover
) Cable and Adapters
A console cable kit is provided with your router. Use this kit when connecting your router to a PC or terminal.
The console cable kit contains:
•
RJ-45-to-RJ-45 console cable (blue)•
RJ-45-to-DB-9 adapter (gray)Table 1 describes the wiring for the console port, the console cable, and the included adapters. This table also includes pinouts for an RJ-45-to-DB-25 adapter.
Table 1 Console Cable and Adapter Pinouts
Console (DTE) Console Port Console Cable Adapter Adapter Terminal (DTE)
You can identify a rollover cable by comparing the two modular ends of the cable. Hold the cable’s ends side-by-side, with the tab at the back (pointing away from you). The wire connected to the pin on the outside of the left plug should be the same color as the wire connected to the pin on the outside of the right plug. (See Figure 1.) If your cable came from Cisco Systems, pin 1 is white on one connector, and pin 8 is white on the other (a rollover cable reverses pins 1 and 8, 2 and 7, 3 and 6, and 4 and 5).
DTR 2 7 6 6 DSR
TXD 3 6 2 3 RXD
GND 4 5 5 7 GND
GND 5 4 5 7 GND
RXD 6 3 3 2 TXD
DSR 7 2 4 20 DTR
CTS 8 1 7 4 RTS
Console (DTE) Console Port Console Cable Adapter Adapter Terminal (DTE)
Figure 1 Identifying a Rollover Cable
Making the physical connection
The cable and adapters required for this connection are included with the router. Follow these steps to connect the router to a terminal or PC running terminal emulation software:
Step 1 Locate the console port on the back of the router.
Step 2 Connect the console (or rollover) cable to the console port on the router (see Figure 2).
Note The console cable will need an RJ-45 to DB-25 adapter for Cisco 4000 and 7000 series routers. This adapter is supplied withthe router and is also included in your verikit.
Pin 1
H10632
Pin 8 Pin 1 on one connector and
pin 8 on the other connector should be the same color.
Figure 2 Connecting to Console Port (1600 Series Router Shown)
Step 3 Use the correct adapter to connect the other end of the cable to your terminal or PC.
Note If your terminal or PC has a console port that does not fit one of the adapters, you must provide the correct adapter for that port.
OK WIC
OK LNK LNK
LNK LNK
Rollover console cable
(RJ-45-to-RJ-45)
Connecting using HyperTerminal
Click on the HyperTerminal icon below to launch a pre-configured HyperTerminal connection. This connection is configured for use with all Cisco routers. (The router should be connected to your laptop at this time. If it is not, see Connecting the Console Port to a PC.)
Depending on your browser settings, you may initially see a message asking whether you want to open the file or save it to disk. To launch the connection now, select the "open" option. To save the connection to your local hard-drive for future use, select the "save" option.
If you selected the "open" option, you should now be communicating with the router. If you are experiencing problems, make sure the router is powered on, you are attached to the proper Com Port and verify your cabling.
Note You may want to save this HyperTerminal configuration file to your laptop or PC for future use. (Select File > Save as... from the HyperTerminal window menu.)
Setting up a HyperTerminal connection file
Using this procedure you will create a named connection that you can save and reuse. (This creates a connection identical to the one provided above, and is included primarily for your reference.)
To set up a HyperTerminal connection on your laptop:
Step 1 Click the Start button on the Windows Taskbar, and select Programs > Accessories > HyperTerminal. The HyperTerminal folder appears.
Step 2 Double-click Hypertrm.exe to initiate a new session. The Connection Description dialog box appears.
Step 3 Type in a name and optionally select an Icon to represent your HyperTerminal session. Click OK. The Phone Number window appears.
Step 4 Locate the Connect Using field near the bottom of the Phone Number window. Select “Direct to COM1” from the drop-down list to indicate that this connection is a local session (and not
a dial-up session). Click OK. The COM1 Properties window appears.
Step 5 On the Port Settings tab, enter the following settings:
•
Speed – 9600•
Data Bits – 8•
Parity – none•
Stop bits – 1•
Flow Control – noneStep 6 Click OK to make the connection. The COM1 Properties window disappears. You should now see a blinking cursor in the HyperTerminal terminal window.
If there are any problems at this point, jump to Troubleshooting console port problems to isolate and fix the problem.
Step 7 From the HyperTerminal menu, select File > Save. This saves the Session for future use. The new named session appears in the HyperTerminal folder represented with the icon you chose in Step 3. (In the future, simply double-click this icon to open the saved connection.)
Step 8 Assuming you have already connected the router and laptop using a roll-over cable, you can verify that the session is active by pressing the Enter key on your laptop a couple of times. You should see the router prompt in the HyperTerminal window.
Troubleshooting console port problems
Symptom No connection.
Check your laptop’s settings to see if COM1 is loaded.
Click on Start > Settings > Control Panel. Within the Control Panel window, open the Systems icon. Choose the Device Manager tab, and ensure that COM1 is an option on the Ports drop-down list. If COM1 is missing, reboot your laptop and repeat this check. It should now appear.
Symptom No response from router once connected to router via console.
Check to ensure you are using the correct cable (roll-over as opposed to straight through). Verify that HyperTerminal is configured to use the correct communications port.
Symptom Only getting garbage from the router.