Solved

Reverse Telnet -how does this work

Posted on 2001-09-16
5
782 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
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Systems talking to each other 5 124
Radius Debug Error 16 49
Routing 2 local networks together 8 70
DHCP Server 14 62
In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
This article is a guide to configure bridging on Cisco Routers.  This is something I never knew was possible until after making a few phone calls to Cisco.  Using bridging saved our company money by not requiring us to purchase a new switch.  Bridgi…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now