Reverse Telnet gives you the ability to telnet to a device, and then console to another device from there. For example, you could telnet to a router, and then console into a switch, or a modem, or anything that has a console port. There are alot of devices out there that dont have remote access built into them, their only option is a console session. Well, this will allow you to remotely manage these devices.
Before we even begin, lets set up the cabling first.
You need a straight through cable going from the console port of the console-only device to the AUX port on your router.
Now lets get going with the router config:
In order to set up reverse telnet, these are the steps:
router#config t
router(config)#line aux 0
router(config-line)#modem InOut
router(config-line)#transport input all
router(config-line)#speed 19200
router(config-line)#exit
Here is a sample configuration, this is everything you need to reverse telnet:
sample-config#sh run
Building configuration...
Current configuration : 3481 bytes
!
!
interface Loopback0
ip address 10.0.0.1 255.0.0.0
!
line con 0
transport input none
line aux 0
modem InOut
transport input all
speed 19200
line vty 0 4
password xxxxxxx
login
!
end
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.