Mailing List Archive

reverse telnet on cisco 5850
Hi,

002575: Aug 23 01:50:47.979 SAT: %TTY-3-AUTOCONFIG: TTY4/54: Modem auto-configuration failed
002576: Aug 23 01:52:34.700 SAT: %TTY-3-AUTOCONFIG: TTY4/117: Modem auto-configuration failed
002577: Aug 23 01:53:39.533 SAT: %TTY-3-AUTOCONFIG: TTY4/221: Modem auto-configuration failed
002578: Aug 23 01:53:41.185 SAT: %TTY-3-AUTOCONFIG: TTY4/198: Modem auto-configuration failed
002579: Aug 23 01:54:05.097 SAT: %TTY-3-AUTOCONFIG: TTY4/177: Modem auto-configuration failed
002580: Aug 23 01:54:06.369 SAT: %TTY-3-AUTOCONFIG: TTY4/134: Modem auto-configuration failed
002581: Aug 23 01:54:13.797 SAT: %TTY-3-AUTOCONFIG: TTY4/229: Modem auto-configuration failed
002582: Aug 23 01:54:52.050 SAT: %TTY-3-AUTOCONFIG: TTY4/233: Modem auto-configuration failed
002583: Aug 23 01:55:09.342 SAT: %TTY-3-AUTOCONFIG: TTY4/236: Modem auto-configuration failed
002584: Aug 23 01:55:23.994 SAT: %TTY-3-AUTOCONFIG: TTY4/161: Modem auto-configuration failed
002585: Aug 23 01:55:48.086 SAT: %TTY-3-AUTOCONFIG: TTY4/02: Modem auto-configuration failed
002586: Aug 23 01:56:35.807 SAT: %TTY-3-AUTOCONFIG: TTY4/222: Modem auto-configuration failed

I am trying to reverse telnet to one of the modems above to see if my modem string might be causing the above error:

vic-58-1#show controllers async 4/54
Controller information for Async4/54 (TTY 1674), idb 0x64177C3C
^^^^^^^^
DSR=down DTR=up RTS=up CTS=up
cts_on 2, cts_off 0, rts_on 0, rts_off 0
rts_ack_pending=FALSE
no_rx_parts 0, no_tx_parts 0
throttled 0, enabled 0
rxparticleq size 0, txparticleq size 1
rxparticleq.qhead 0x0, txparticleq.qhead 0x640DF0C0
TTY character receive pointers:
inhead 0x0, intail 0x0, instart 0x0, inend 0x0,
incount 0
TTY character transmit pointers:
outhead 0xC1B6443, outtail 0xC1B6443, outstart 0xC1B6443, outsize 0x80,
outend 0xC1B64C3, outcount 0, outpak 0x0
statbits 0x80010020, statbits2 0x3, isavedchar -1, tiptop -1

vic-58-1#telnet 196.2.45.19 1674
Trying 196.2.45.19, 1674 ...
% Connection refused by remote host

(assuming tcp 2000 as base port + 1674):
vic-58-1#telnet 196.2.45.19 3674
Trying 196.2.45.19, 3674 ...
% Connection refused by remote host

vic-58-1#telnet 196.2.45.19 2674
Trying 196.2.45.19, 2674 ...
% Connection refused by remote host

vic-58-1#telnet 196.2.45.19 2074
Trying 196.2.45.19, 2074 ...
% Connection refused by remote host

Any ideas?

It seems that you can only telnet up to 2999...?

I also can't seem to find any Cisco documentation on reverse telnet on Cisco 58xx series - any pointers?

thanks in advance,
Jaco



vic-58-1#sho ver
Cisco Internetwork Operating System Software
IOS (tm) 5850 Software (C5850-P9-M), Version 12.3(13a), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Tue 26-Apr-05 10:21 by ssearch
Image text-base: 0x60008AF4, data-base: 0x61F50000

ROM: System Bootstrap, Version 12.2(2r)XB5, RELEASE SOFTWARE (fc1)
ROM: 5850 Software (C5850-BOOT-M), Version 12.3(13a), RELEASE SOFTWARE (fc2)

vic-58-1 uptime is 1 hour, 22 minutes
System returned to ROM by reload at 00:36:45 CAT Tue Aug 23 2005
System restarted at 00:37:59 SAT Tue Aug 23 2005
System image file is "disk0:c5850-p9-mz.123-13a.bin"
Last reload reason: Reload command


cisco c5850 (R7K) processor (revision 0.12) with 458752K/65536K bytes of memory.
Processor board ID SAA06390089
R7000 CPU at 259MHz, Implementation 39, Rev 3.3, 256KB L2, 2048KB L3 Cache
Last reset from Mbus reset
Channelized E1, Version 1.0.
X.25 software, Version 3.0.0.
Bridging software.
SuperLAT software (copyright 1990 by Meridian Technology Corp).
Primary Rate ISDN software, Version 1.1.
1 FastEthernet/IEEE 802.3 interface(s)
2 Gigabit Ethernet/IEEE 802.3 interface(s)
744 Serial network interface(s)
648 terminal line(s)
24 Channelized E1/PRI port(s)
507K bytes of non-volatile configuration memory.

31360K bytes of Compact Flash card at slot 0 (Sector size 512).
16384K bytes of Flash internal SIMM (Sector size 256k).
Configuration register is 0x2102

vic-58-1#

--
bje@serendipity.org.za
the faculty of making fortunate discoveries
Re: reverse telnet on cisco 5850 [ In reply to ]
>002575: Aug 23 01:50:47.979 SAT: %TTY-3-AUTOCONFIG: TTY4/54: Modem auto-configuration failed
>
>
>

Here's a hint: turn on "debug confmodem" then apply your modemcap to just
ONE line for starters.

>I am trying to reverse telnet to one of the modems above to see if my modem string might be causing the above error:
>
>vic-58-1#show controllers async 4/54
>Controller information for Async4/54 (TTY 1674), idb 0x64177C3C
> ^^^^^^^^
>
>
>vic-58-1#telnet 196.2.45.19 1674
>Trying 196.2.45.19, 1674 ...
>% Connection refused by remote host
>
>(assuming tcp 2000 as base port + 1674):
>vic-58-1#telnet 196.2.45.19 3674
>Trying 196.2.45.19, 3674 ...
>% Connection refused by remote host
>
>vic-58-1#telnet 196.2.45.19 2674
>Trying 196.2.45.19, 2674 ...
>% Connection refused by remote host
>
>vic-58-1#telnet 196.2.45.19 2074
>Trying 196.2.45.19, 2074 ...
>% Connection refused by remote host
>
>Any ideas?
>
>It seems that you can only telnet up to 2999...?
>
>

Well, that's basically true. The scheme involves telnetting to port 2000
+ line number ... so it breaks down with a line number > 999.

The workaround, if you REALLY need to telnet to a specific line that's
above 999, is to put it into a rotary, then telnet to port 3000+rotary

conf t
line 1674
rotary 11
end

telnet 196.2.45.19 3011

>I also can't seem to find any Cisco documentation on reverse telnet on Cisco 58xx series - any pointers?
>
>

Nothing specific on the AS5850 as the reverse telnet feature is a generic
one ... although to be sure the 5850 is one of the few boxes with line
numbers > 999. You might look at the "rotary" documentation,
http://www.cisco.com/en/US/products/sw/iosswrel/ps1826/products_command_reference_chapter09186a00800d9b6b.html#xtocid178229

Cheers,

Aaron

---

>thanks in advance,
>Jaco
>
>
>
>vic-58-1#sho ver
>Cisco Internetwork Operating System Software
>IOS (tm) 5850 Software (C5850-P9-M), Version 12.3(13a), RELEASE SOFTWARE (fc2)
>Technical Support: http://www.cisco.com/techsupport
>Copyright (c) 1986-2005 by cisco Systems, Inc.
>Compiled Tue 26-Apr-05 10:21 by ssearch
>Image text-base: 0x60008AF4, data-base: 0x61F50000
>
>ROM: System Bootstrap, Version 12.2(2r)XB5, RELEASE SOFTWARE (fc1)
>ROM: 5850 Software (C5850-BOOT-M), Version 12.3(13a), RELEASE SOFTWARE (fc2)
>
>vic-58-1 uptime is 1 hour, 22 minutes
>System returned to ROM by reload at 00:36:45 CAT Tue Aug 23 2005
>System restarted at 00:37:59 SAT Tue Aug 23 2005
>System image file is "disk0:c5850-p9-mz.123-13a.bin"
>Last reload reason: Reload command
>
>
>cisco c5850 (R7K) processor (revision 0.12) with 458752K/65536K bytes of memory.
>Processor board ID SAA06390089
>R7000 CPU at 259MHz, Implementation 39, Rev 3.3, 256KB L2, 2048KB L3 Cache
>Last reset from Mbus reset
>Channelized E1, Version 1.0.
>X.25 software, Version 3.0.0.
>Bridging software.
>SuperLAT software (copyright 1990 by Meridian Technology Corp).
>Primary Rate ISDN software, Version 1.1.
>1 FastEthernet/IEEE 802.3 interface(s)
>2 Gigabit Ethernet/IEEE 802.3 interface(s)
>744 Serial network interface(s)
>648 terminal line(s)
>24 Channelized E1/PRI port(s)
>507K bytes of non-volatile configuration memory.
>
>31360K bytes of Compact Flash card at slot 0 (Sector size 512).
>16384K bytes of Flash internal SIMM (Sector size 256k).
>Configuration register is 0x2102
>
>vic-58-1#
>
>
>
Re: reverse telnet on cisco 5850 [ In reply to ]
Hi!

On Mon 2005-08-22 (17:37), Aaron Leonard wrote:
> Here's a hint: turn on "debug confmodem" then apply your modemcap to just
> ONE line for starters.

That's what I ended up doing :-)

Fixed my problem!

> Well, that's basically true. The scheme involves telnetting to port 2000
> + line number ... so it breaks down with a line number > 999.
>
> The workaround, if you REALLY need to telnet to a specific line that's
> above 999, is to put it into a rotary, then telnet to port 3000+rotary
>
> conf t
> line 1674
> rotary 11
> end
>
> telnet 196.2.45.19 3011

Ah, great...

> >I also can't seem to find any Cisco documentation on reverse telnet on
> >Cisco 58xx series - any pointers?
> >
>
> Nothing specific on the AS5850 as the reverse telnet feature is a generic
> one ... although to be sure the 5850 is one of the few boxes with line
> numbers > 999. You might look at the "rotary" documentation,
> http://www.cisco.com/en/US/products/sw/iosswrel/ps1826/products_command_reference_chapter09186a00800d9b6b.html#xtocid178229

Thanks for your help.

:)

Cheers,
Jaco

--
bje@serendipity.org.za
the faculty of making fortunate discoveries