03-26-2014 12:10 AM - edited 07-05-2021 12:32 AM
Hi All,
Not sure if this has been answered before or not but has anyone been able to get reverse telnet workig with a 4402 WLC (i am using a 2511 access router).
I have tried manual configuration of the line but so far no success - the session appears to connect BUT no prompt is ever returned.
Thanks,
04-11-2014 01:38 PM
If you connect one router's aux port to another device's console port, you can telnet to the router, then use "reverse telnet" to connect to the other device's console via your aux port. Here's how to set it up.
Connect your router's aux port to another device's console port using a Cisco flat crossover cable.
TELNET to your router, enable, and set the aux port up as follows:
# conf t
# line aux 0
(config-line)# modem InOut
(config-line)# transport preferred all
(config-line)# transport input all
(config-line)# transport output all
^z
Make sure you have an address on your lo0 interface, and the interface is up.
Back in enable mode, find out the line number of your AUX port with #show line. It will look something like this:
Tty Typ Tx/Rx A Modem
0 CTY - -
* 97 AUX 9600/9600 - inout
* 98 VTY - -
99 VTY - -
100 VTY - -
101 VTY - -
102 VTY - -
On this router it is line 97. It's different from router to router but I've never seen it change.
Now all you need to do is add 2000 to the line number, and telnet to your lo0 address, port 2097.
I like to set up two aliases to save time:
(c)# alias exec auxup telnet 127.0.0.11 2097
(c)# alias exec auxdown clear line 97
With the setup above, you just connect the router's aux port to the target device. Then from the command line on the router, type auxup. This gives you a console connection to the target device. To end the connection, hit [<shift><ctrl>6] x, then type auxdown.
Update: it looks like the disconnect command (entered after the [<shift><ctrl>6] x) might be the proper way to end the telnet session.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide