Solved

Reverse Telnet -how does this work

Posted on 2001-09-16
5
811 Views
Last Modified: 2008-02-01
Can someone give me a run down on how to set up a reverse telnet scenario between a Cisco router and 2 attached switches.
0
Comment
Question by:Silas
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 8

Accepted Solution

by:
scraig84 earned 20 total points
ID: 6487452
I don't know how much info you were looking for, but it is pretty simple.  First off, you need to have a router with async ports.  Attach the async ports to the switches' console ports and configure the lines in the IOS config with something similar to:

line 110 111
 no exec
 disconnect-character 81
 transport input telnet

Last you telnet to the Cisco router, using the line # plus 2000 as the port.  Following the example above, if I was trying to go to the switch on line 110 and an IP address on the Cisco router is 1.2.3.4, I would type the following to get to the switch:

telnet 1.2.3.4 2110

One thing to remember when doing reverse telnet is to exit the exec session before terminating the telnet session.  If you don't, you may wind up leaving the switch in enbable mode.

The following link may help as well:
http://www.cisco.com/warp/public/793/access_dial/comm_server.html

Hope that gets you started.
0
 
LVL 1

Expert Comment

by:Chriskohn
ID: 6488275
Here is a link from Cisco that may help you
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/12cgcr/dial_c/dcrtelnt.htm   Hope this helps, Worker
0
 

Author Comment

by:Silas
ID: 6497254
line vty 0 4 makes sense to me, but line 110?  What exactly does that refer to?
0
 
LVL 8

Expert Comment

by:scraig84
ID: 6497297
It is a physical line, such as an asynch port.  If you add an async card to your router, you need to configure the physical aspects of these lines with the line command.  A vty line is a telnet line allowing inbound telnet connections.  When you reverse telnet, you are initiating a telnet session over a vty line to the router, and it is then initiating a physical connection over a physical line that was specified with the port used in the telnet command.

After you have added an async card, when you do a "show line", you will see the available TTY lines that it has associated with the async ports.  If you do a show line on any router, you will at least see the line numbers associated with the console port, and additionally you will see lines for an aux port and any vty lines you have created.

Hope that helps.
0
 
LVL 2

Expert Comment

by:irp
ID: 6524181
If you do not have async ports (from NM-16A, NM-4A/S, WIC-2A/S) etc. you can use the AUX port (1700 series upwards), which appears as different line numbers on different platforms. This obviously only gives you one port though.
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While it is possible to put two routes in place with the secondary having a higher metric, this may not always work. In the event of a failure that does not bring down the physical interface on the router the primary route is not removed. There is a…
Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question