Reverse telneting to a console port

2000-07-24 Thread Chuck Church

All,

Can anyone tell me how to setup reverse telnet on a 2511 to connect to
the console port of another router?  I have the octal cable with RJ45
directly plugged into the console port of another.  Is a x-over needed on
this cable?  I can't seem to find how to do it on CCO.  I did notice that if
I have the first 3 lines connected to routers, and do a port scan on the
2511, I don't see it listening on ports 2001-2003.  If I unplug the RJ45s
from the other routers, the port is listening.  Here's my partial 2511
config:

interface Loopback0
 ip address 172.16.1.1 255.255.255.0
 no ip directed-broadcast
!
.
!
line con 0
 password cisco
 login
 transport input none
line 1
 modem InOut
 transport input telnet
 stopbits 1
 speed 38400
 flowcontrol hardware
line 2 16
 modem InOut
 transport input all
 stopbits 1
 flowcontrol hardware
line aux 0
line vty 0 4
 password cisco
 login
!

SH LINE 1 looks like this:

2511# sh line 1
 Tty Typ Tx/RxA Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
*  1 TTY  38400/38400 - inout ---  0   0 0/0   -

Line 1, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 38400/38400, no parity, 1 stopbits, 8 databits
Status: Ready, Active, No Exit Banner
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out
  Modem Callout, Modem RI is CD
Modem state: Ready
Group codes:0
Modem hardware state: CTS DSR  DTR RTS
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
^^xnone   - -   none
Timeouts:  Idle EXECIdle Session   Modem Answer  Session   Dispatch
   00:10:00nevernone not set
Idle Session Disconnect Warning
  never
Login-sequence User Response
 00:00:30
Autoselect Initial Wait
  not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:04:12
Editing is enabled.
History is enabled, history size is 10.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed transports are lat pad v120 mop telnet rlogin nasi.  Preferred is
lat.
No output characters are padded
No special data dispatching characters

Thanks in advance,
Chuck Church
CCNP, MCNE, MCSE
Sr. Network Engineer
Magnacom Technologies
140 N. Rt. 303
Valley Cottage, NY 10989
845-267-4000 x218

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: Reverse telneting to a console port

2000-07-24 Thread Chris Larson

If I remember from BCRAN, if you do a show line, and find your line number.
Now if you telnet to your router port 2000 + line number that should be it.



So if you have a modem (or console but console has a different number) that
is async 65 or line 65 you would reverse telnet to it by telnetting to
127.0.0.1 2065


-Original Message-
From: Chuck Church [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 3:30 PM
To: '[EMAIL PROTECTED]'
Subject: Reverse telneting to a console port

All,

Can anyone tell me how to setup reverse telnet on a 2511 to connect to
the console port of another router?  I have the octal cable with RJ45
directly plugged into the console port of another.  Is a x-over needed on
this cable?  I can't seem to find how to do it on CCO.  I did notice that if
I have the first 3 lines connected to routers, and do a port scan on the
2511, I don't see it listening on ports 2001-2003.  If I unplug the RJ45s
from the other routers, the port is listening.  Here's my partial 2511
config:

interface Loopback0
 ip address 172.16.1.1 255.255.255.0
 no ip directed-broadcast
!
.
!
line con 0
 password cisco
 login
 transport input none
line 1
 modem InOut
 transport input telnet
 stopbits 1
 speed 38400
 flowcontrol hardware
line 2 16
 modem InOut
 transport input all
 stopbits 1
 flowcontrol hardware
line aux 0
line vty 0 4
 password cisco
 login
!

SH LINE 1 looks like this:

2511# sh line 1
 Tty Typ Tx/RxA Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
*  1 TTY  38400/38400 - inout ---  0   0 0/0   -

Line 1, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 38400/38400, no parity, 1 stopbits, 8 databits
Status: Ready, Active, No Exit Banner
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out
  Modem Callout, Modem RI is CD
Modem state: Ready
Group codes:0
Modem hardware state: CTS DSR  DTR RTS
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
^^xnone   - -   none
Timeouts:  Idle EXECIdle Session   Modem Answer  Session   Dispatch
   00:10:00nevernone not set
Idle Session Disconnect Warning
  never
Login-sequence User Response
 00:00:30
Autoselect Initial Wait
  not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:04:12
Editing is enabled.
History is enabled, history size is 10.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed transports are lat pad v120 mop telnet rlogin nasi.  Preferred is
lat.
No output characters are padded
No special data dispatching characters

Thanks in advance,
Chuck Church
CCNP, MCNE, MCSE
Sr. Network Engineer
Magnacom Technologies
140 N. Rt. 303
Valley Cottage, NY 10989
845-267-4000 x218

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



RE: Reverse telneting to a console port

2000-07-24 Thread Chris Larson

You can reverse telnet to any line.  Do a show line, take thge line # of the
device you want to telnet to and add 2000. That will be the port of the
device.  So if I have an async or line 65 and my router is ip 192.168.2.2, I
can reverse telnet to the modem by doing a telnet 192.168.2.2 2065

It will work the same for the console port.

AUX0
CCNP +Security



-Original Message-
From: Chuck Church [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 3:30 PM
To: '[EMAIL PROTECTED]'
Subject: Reverse telneting to a console port


All,

Can anyone tell me how to setup reverse telnet on a 2511 to connect to
the console port of another router?  I have the octal cable with RJ45
directly plugged into the console port of another.  Is a x-over needed on
this cable?  I can't seem to find how to do it on CCO.  I did notice that if
I have the first 3 lines connected to routers, and do a port scan on the
2511, I don't see it listening on ports 2001-2003.  If I unplug the RJ45s
from the other routers, the port is listening.  Here's my partial 2511
config:

interface Loopback0
 ip address 172.16.1.1 255.255.255.0
 no ip directed-broadcast
!
.
!
line con 0
 password cisco
 login
 transport input none
line 1
 modem InOut
 transport input telnet
 stopbits 1
 speed 38400
 flowcontrol hardware
line 2 16
 modem InOut
 transport input all
 stopbits 1
 flowcontrol hardware
line aux 0
line vty 0 4
 password cisco
 login
!

SH LINE 1 looks like this:

2511# sh line 1
 Tty Typ Tx/RxA Modem  Roty AccO AccI   Uses   Noise  Overruns   Int
*  1 TTY  38400/38400 - inout ---  0   0 0/0   -

Line 1, Location: "", Type: ""
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 38400/38400, no parity, 1 stopbits, 8 databits
Status: Ready, Active, No Exit Banner
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol Out
  Modem Callout, Modem RI is CD
Modem state: Ready
Group codes:0
Modem hardware state: CTS DSR  DTR RTS
Special Chars: Escape  Hold  Stop  Start  Disconnect  Activation
^^xnone   - -   none
Timeouts:  Idle EXECIdle Session   Modem Answer  Session   Dispatch
   00:10:00nevernone not set
Idle Session Disconnect Warning
  never
Login-sequence User Response
 00:00:30
Autoselect Initial Wait
  not set
Modem type is unknown.
Session limit is not set.
Time since activation: 00:04:12
Editing is enabled.
History is enabled, history size is 10.
DNS resolution in show commands is enabled
Full user help is disabled
Allowed transports are lat pad v120 mop telnet rlogin nasi.  Preferred is
lat.
No output characters are padded
No special data dispatching characters

Thanks in advance,
Chuck Church
CCNP, MCNE, MCSE
Sr. Network Engineer
Magnacom Technologies
140 N. Rt. 303
Valley Cottage, NY 10989
845-267-4000 x218

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

___
UPDATED Posting Guidelines: http://www.groupstudy.com/list/guide.html
FAQ, list archives, and subscription info: http://www.groupstudy.com
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]