cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
539
Views
0
Helpful
1
Replies

4402 Reverse Telnet

matthew gosling
Level 1
Level 1

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,

1 Reply 1

Abhishek Abhishek
Cisco Employee
Cisco Employee

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: