Table of Contents
- About the Authors
- I. Basic Router Configuration
- Chapter 1. Practical Lab Methodology and Equipment
- Chapter 2. Cisco Router Review
- Chapter 3. Lab Environment
- Chapter 4. Gaining Access to the Routers and Switches
- Chapter 5. Bridging and Switching
- Chapter 6. General Router Configurations
- Chapter 7. Router Interface Configuration Methodology
- II. Configuring Routing Protocols, ISDN, and IPX
- Chapter 8. Routing Information Protocol (RIP)
- Chapter 9. Interior Gateway Routing Protocol (IGRP)
- Chapter 10. Enhanced Interior Gateway Protocol (EIGRP)
- Chapter 11. Route Redistribution
- Chapter 12. Integrated Services Digital Network (ISDN)
- Chapter 13. IPX
- Chapter 14. Routing IPX
- III. Access Lists, Cisco IOS Software Operations, and Troubleshooting
- Chapter 15. Standard and Extended Access Lists
- Chapter 16. Cisco Router Operations
- Chapter 17. Troubleshooting
- IV. Appendixes
- A. Master Lab Configurations and Lab Diagrams
- B. Frame Relay Switch Configuration
- C. Self-Study Lab
- D. ISDN Simulator Configuration and Setup
Chapter 4. Gaining Access to the Routers and Switches
This chapter describes how to access a router through the following methods:
- Through a direct console connection
- Over the LAN via Telnet
- Through a terminal server
In this chapter, you learn how to access a router and switch through a direct console connection, over the LAN via Telnet, and finally through a terminal server. To begin, this chapter reviews how to access a router or switch through a direct console connection. Next, you will configure the terminal server router for Telnet access. Then you will access the terminal server over the LAN via Telnet using a terminal application program running on your PC. Finally, you will configure the 2511 router as the lab terminal server for reverse Telnet to access the lab routers.
Routers and switches can be accessed and configured through various means. To initially configure a Cisco device, you will need to connect directly through the console port. The console port exists on both routers and switches and is available to configure and monitor the device.
Direct Access to Routers and Switches Through a Console Port
Most Cisco devices use a rollover cable connected to the console port on the router or switch. For exceptions, consult the product documentation to verify whether you should use a straight-through or rollover cable. The cable is then connected to an RJ-45–to–DB-9 or RJ-45–to–DB-25 terminal adapter that is attached to a serial communications port (COM1, COM2, or other COM port) on the PC. Figure 4-1 shows how this is done.
Figure 4-1 Connecting a Device with a Console Cable
When the physical connection is in place, configure the terminal application program on the PC with the following COM settings:
- 9600 bps
- 8 data bits
- No parity
- 1 stop bit
- No flow control
In the lab, you will be using the terminal application program HyperTerminal to connect to the terminal server's console port. Any terminal application could be used based on your personal preference. If another terminal application is used, consult the product documentation for configuration and setup procedures.
Let's demonstrate how this is done.
Accessing the Lab Terminal Server Through the Console Port
The physical cabling between your PC and the router acting as the terminal server has been configured as shown in Figure 4-1. With the physical cabling in place, start the program HyperTerminal on the PC. To do so, click Start, Programs, Accessories, Communications, HyperTerminal. Then double-click the HyperTerminal executable (hypertrm.exe) from within Windows, as shown in Figure 4-2.
Figure 4-2 Starting the HyperTerminal Application
Give the new connection a name of LAB, and then click OK, as shown in Figure 4-3.
Figure 4-3 Giving the Connection a Name
In the Connect Using field, select Direct to Com1 from the drop-down menu, as shown in Figure 4-4.
Figure 4-4 Selecting the COM Port on PC
Now configure the port settings as follows and as shown in Figure 4-5. When finished, click OK:
Figure 4-5 Configuring HyperTerminal Port Settings
- Bits per second: 9600
- Data bits: 8
- Parity: none
- Stop bits: 1
- Flow control: none
You are initially placed in user EXEC mode of the terminal server. If you do not see a prompt, hit the Enter key a few times, and then type enable and hit Enter. You are put into privileged EXEC mode without being prompted for a password because an enable password has not yet been set, as shown in Figure 4-6.
Figure 4-6 Successful Establishment of EXEC Session Through a Direct Console Connection
If you still do not get a console prompt, verify that it shows Connected in the bottom-left corner of the HyperTerminal application, as shown in Figure 4-6. If not, check the physical cabling as well as the port settings, and verify that the router has been powered on.
Now that you have successfully connected to the console port of the terminal server, you will configure the terminal server for Telnet access.