cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1252
Views
0
Helpful
3
Replies

Terminal server

victor_87
Level 1
Level 1

Hi,

Quick question...

I have a the console of a 6500 connected to a  cisco 3800 router acting as a terminal server.

I know that normally on terminal servers we use something like

telnet 1.1.1.1 2045  (where 1.1.1.1 is a interface or loopback address and 45 is the tty line number )

On this router my 6500 is connected to the line 145.

Could someone explain if i still need to telnet to line 2000 + 145 ; 2145 itself or is there any other notation.

I tried a telnet to port 2145 but my connected gets rejected. Can some one help ?

below is the config on the TS

line 2/14
location SUP2
exec-timeout 0 0
no flush-at-activation
login authentication noauth
no exec
transport input all
stopbits 1
line 2/15
location SUP1
exec-timeout 0 0
no flush-at-activation
login authentication noauth
no exec
transport input all
stopbits 1

*  2/14  144 TTY   9600/9600  -    -      -    -    -    84      0    0/0      -
*  2/15  145 TTY   9600/9600  -    -      -    -    -    85      0    0/0      -
*  2/16  146 TTY   9600/9600  -    -      -    -    -    82     12    0/0      -
*  2/17  147 TTY   9600/9600  -    -      -    -    -    82      2    0/0      -
*  2/18  148 TTY   9600/9600  -    -      -    -    -    82      0    0/0      -

Thanks

Victor.

3 Replies 3

Ganesh Hariharan
VIP Alumni
VIP Alumni

Hi,

Quick question...

I have a the console of a 6500 connected to a  cisco 3800 router acting as a terminal server.

I know that normally on terminal servers we use something like

telnet 1.1.1.1 2045  (where 1.1.1.1 is a interface or loopback address and 45 is the tty line number )

On this router my 6500 is connected to the line 145.

Could someone explain if i still need to telnet to line 2000 + 145 ; 2145 itself or is there any other notation.

I tried a telnet to port 2145 but my connected gets rejected. Can some one help ?

below is the config on the TS

line 2/14

location SUP2

exec-timeout 0 0

no flush-at-activation

login authentication noauth

no exec

transport input all

stopbits 1

line 2/15

location SUP1

exec-timeout 0 0

no flush-at-activation

login authentication noauth

no exec

transport input all

Hi,

Usually the command meaning for telnet ip port where port field indicates decimal TCP port number. The Telnet router port (decimal 23) on the host is the default decimal TCP port number. For reverse Telnet, the port number must be 2000+line number. Line numbers range from 1-16 in genrall configuration. Use the show line EXEC command to view the available lines.

and in your configuration if you configure as line 1 16 and then see are you able to telnet on the specifed line in which device is connected.

Hope to Help !!

Ganesh.H

Remember to rate the helpful post

Hello Ganesh,

Thankyou for your reply.

I have indeed pasted output from the " Sh line" command previously and the lines 144 and 145 are the ones connected to the 6500 in question.

i am doing a reverse telnet to ports 2145 and 2144 but i get a connection refused prompt.

TS2#telnet 1.1.1.1 2144
Trying 1.1.1.1, 2144 ...
% Connection refused by remote host

TS2#telnet 1.1.1.1 2145
Trying 1.1.1.1, 2145 ...
% Connection refused by remote host

VA-3800-TS2#

My actual question was does the port number for the reverse telnet remain 2000+ even for line numbers above 100 as is the case with my question.

Hope you got my question.

Thanks,

Vignesh

Hello Ganesh,

Thankyou for your reply.

I have indeed pasted output from the " Sh line" command previously and the lines 144 and 145 are the ones connected to the 6500 in question.

i am doing a reverse telnet to ports 2145 and 2144 but i get a connection refused prompt.

TS2#telnet 1.1.1.1 2144
Trying 1.1.1.1, 2144 ...
% Connection refused by remote host

TS2#telnet 1.1.1.1 2145
Trying 1.1.1.1, 2145 ...
% Connection refused by remote host

VA-3800-TS2#

My actual question was does the port number for the reverse telnet remain 2000+ even for line numbers above 100 as is the case with my question.

Hope you got my question.

Thanks,

Vignesh

Vignesh,

As far my knowledge ther no restriction of ports for reverse telnet 2000 + line number so it can be any to connect to devcie.

Hope to Help !!

Ganesh.H

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: