In many organizations, you'll have a centralized staff in a hub and a lot of remote offices with no IT staff. In order to
Requires Free Membership to View
Download CIODecisions Ezine FREE with your registration.
Get essential editorial insights that senior IT executives need to run IT operations effectively and efficiently. Check out past issues then register to get the latest issue.
Scot Petersen, Editorial Director, SearchCIO-MidmarketThe simplest of these is a cheap modem and telephone line, which you can plug into the console port on the remote location's router. This remote console connection is also really handy for doing administrative tasks like rebooting the box while you're uploading new software or troubleshooting bootup problems.
Naturally, if you have two devices, like a backup router or a router and a switch, you could get a second phone line and a second modem. However, a much simpler option on some Cisco routers is to connect a console cable from the "AUX" port on the device attached to the modem to the CON or AUX port on the second device. Then you can dial in through the modem to your first device and reverse Telnet through the console cable to get a session on the second device.
To do this, you need to configure the first router's AUX port to communicate. This is done with the following commands:
config term line aux 0 modem inout transport input all exit exit
You may want to change the speed, but you don't have to. If you do, you need to change it on both routers. Also, if you connect to the AUX port on the second router, you'll want to make sure you can log in, because by default you can log into the CON port but not the AUX port. At a minimum, you'll want the following commands:
config term enable passwordline aux 0 login password exit exit
Finally, to set up the reverse Telnet, make sure you have a loopback address configured. We'll use 1.1.1.1 for this example. Then use the host command to make it easy.
config term interface loopback0 ip address 1.1.1.1 255.255.255.255 exit ip host router2 2065 1.1.1.1 exit
Now, from router1, you can just type "router2" to initiate the reverse Telnet. Use the "ctrl-shift-6, x" sequence to break out of your session, back to router1.
Also, the number 2065 in my example above can vary by router model. Type "show line" on your router to see which line AUX is assigned, (in the case of a 2600 router, it's line 65) then add 2000 to it.
Tom Lancaster, CCIE# 8829 CNX# 1105, is a consultant with 15 years experience in the networking industry, and co-author of several books on networking, most recently, CCSPM: Secure PIX and Secure VPN Study Guide published by Sybex. Let us know what you think about this tip; email editor@searchcio-midmarket.com.
This was first published in September 2004