Configuring a Cisco router as a terminal server

Home -> Networking -> Cisco -> Routers

24992 views

From the computer of: Headhunter (10 recipes)
Created: Sep 29, 2004


0 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

When you have a home lab you want to have console connectivity to all your routers at the same time. By using a terminal server (2509-2512 router range) we can accomplish this.

To use a terminal server we need a 2509/2510 8 lines or 2511/2512 16 lines router and 1 or 2 octal cables.
The first thing we do is create a loopback interface that will be used for the reverse telnet sessions from the other devices.
Router(config)#interface loopback0
Router(config-if)#ip address 172.16.1.1 255.255.255.255


Now we add the devices that are connected to this router [octable cable to each console port]
Router(config)#ip host hostname 2001 172.16.1.1
Router(config)#ip host hostname2 2002 172.16.1.1


The previous commands lets you use the hostname of the device to access it on it's console port. The portnumber is made of the following 200x where x is the nr on the octal cable going to that device. Depending on the type of router you use for terminal server you can have either 8 or 16 devices hanging of it.

Now that the router is configured we use the following commands to navigate.
- to access a device
telnet 172.16.1.1 2001

- to switch between active sessions
ctrl-shift-6-x will bring you back to terminal server
show sessions will display the active sessions
entering a number of a session will let you access that session

- to disconnect a session
use the disconnect command

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  Configuring OSPF on a Cisco router
  Configure Cisco router as a basic DHCP server
  Configure Cisco router to set time from NTP server
  Configure Cisco router as an NTP server
  Configure Cisco router to send messages to remote syslog server
  Cisco: Configuring a Frame-Relay switch
  Set the time on a Cisco router manually
  Configure a Cisco VWIC card
  Configure a Cisco router to use DNS
  How to enable local logging on a Cisco router.

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.