cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
13653
Views
0
Helpful
6
Replies

terminal server Connection refused by remote host

Joli Martinez
Level 1
Level 1

I have a 2911 that I am setting up as a Terminal server to connect to other Cisco devices out of band.  I have the line interface plugged into WIC slot 3 which give me lines 35-50.  I have configured the line as 2035-2042 since I only have 1 octal cable at the moment and the octal cable is plugged into the the 0-7 slot.  I am using the cable marked at P0 and when I do a "sh line" I do see noise and Overruns on line 35 which tells me I am on the correct line.  I then issued the command "ip host C00 2035 1.1.1.1" and then "telnet C00"  I keep getting "% Connection refused by remote host"  I have also cleared the line as well, but no luck.  Any suggestions?  I am connecting to a Cisco 3760 switch stack.  Below is the relevant config.

 

ip host C00 2035 1.1.1.1
ip host C01 2036 1.1.1.1
ip host C02 2037 1.1.1.1
ip host C03 2038 1.1.1.1
ip host C04 2039 1.1.1.1
ip host C05 2040 1.1.1.1
ip host C06 2041 1.1.1.1
ip host C07 2042 1.1.1.1
!
!
interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
!
interface Async0/2/0
 no ip address
 encapsulation slip
!
interface Async0/2/1
 no ip address
 encapsulation slip
!
interface Async0/2/2
 no ip address
 encapsulation slip
!
interface Async0/2/3
 no ip address
 encapsulation slip
!
interface Async0/2/4
 no ip address
 encapsulation slip
!
interface Async0/2/5
 no ip address
 encapsulation slip
!
interface Async0/2/6
 no ip address
 encapsulation slip
!
interface Async0/2/7
 no ip address
 encapsulation slip
!
interface Async0/2/8
 no ip address
 encapsulation slip
!
interface Async0/2/9
 no ip address
 encapsulation slip
!
interface Async0/2/10
 no ip address
 encapsulation slip
!
interface Async0/2/11
 no ip address
 encapsulation slip
!
interface Async0/2/12
 no ip address
 encapsulation slip
!
interface Async0/2/13
 no ip address
 encapsulation slip
!
interface Async0/2/14
 no ip address
 encapsulation slip
!
interface Async0/2/15
 no ip address
 encapsulation slip
!
line con 0
line aux 0
line 2
 no activation-character
 no exec
 transport preferred none
 transport input all
 transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
 stopbits 1
line 0/2/0 0/2/15
 login local
 no exec
line vty 0 4
 login local
 transport input all
!
scheduler allocate 20000 1000
end

 

 

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame

try and let us know.

 

line 0/2/0 0/2/15
 login local
 no exec
transport input all
stopbits 1
flowcontrol hardware

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

try and let us know.

 

line 0/2/0 0/2/15
 login local
 no exec
transport input all
stopbits 1
flowcontrol hardware

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

That worked perfectly.  I have one final question, I have a MOD banner when I login to the router.  When I did the telnet session, I also get the banner.  Is there a way to not get it when I connect to the console ports?  If not not a big deal I can live with this.

% Connection refused by remote host

 

% Connection refused by remote host

 

we hear you, but we can not see what is configured there, so you need explain more about the issue or suggest to open new thread with more information.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hi Balaji

Sorry to come in between. I have a simillar issue with my ISR4221/K9 that I am setting up for terminal server.

 

Here is my config:

hostname HOBART-CONSOLE
!
boot-start-marker
boot-end-marker
!
!
no logging console
aaa new-model
!
!
aaa authentication login console local
!
!
aaa session-id common
clock timezone acst 9 30
clock summer-time ACDT recurring 1 Sun Oct 3:00 1 Sun Apr 3:00
!
!
!
!
!
!
!
ip host R1 2002 2.2.2.2
ip host R2 2003 2.2.2.2
ip host R3 2004 2.2.2.2
ip host R4 2005 2.2.2.2
ip host R6 2007 2.2.2.2
ip host R7 2008 2.2.2.2

interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface GigabitEthernet0/0/0
description UPLINK LAN
ip address 10.117.98.252 255.255.255.0
negotiation auto
!
interface GigabitEthernet0/0/1
no ip address
shutdown
media-type rj45
negotiation auto
!
interface Async0/1/0
no ip address
!
interface Async0/1/1
no ip address
!
interface Async0/1/2
no ip address
!
interface Async0/1/3
no ip address
!
interface Async0/1/4
no ip address
!
interface Async0/1/5
no ip address
!
interface Async0/1/6
no ip address
!
interface Async0/1/7
no ip address
!
interface Async0/1/8
no ip address
!
interface Async0/1/9
no ip address
!
interface Async0/1/10
no ip address
!
interface Async0/1/11
no ip address
!
interface Async0/1/12
no ip address
!
interface Async0/1/13
no ip address
!
interface Async0/1/14
no ip address
!
interface Async0/1/15
no ip address
!


line con 0
transport input none
stopbits 1
line aux 0
line 0/1/0 0/1/15
exec-timeout 0 0
timeout login response 10
privilege level 15
logging synchronous
login authentication local
no exec
transport input telnet
transport output telnet
stopbits 1
flowcontrol hardware
line vty 0 4
password Nyrstar
logging synchronous
login authentication console
length 0
transport input ssh
line vty 5 15
password Nyrstar
logging synchronous
length 0
transport input ssh

 

Can you please tell me where I am making mistake?

It will ask me the username and password when i type R1 but after giving the username and password it doesn't do anything. it just stuck doing nothing.

 

 

balaji.bandi
Hall of Fame
Hall of Fame

not sure - never tried, hardly use the console - until disaster

 

try

 

no motd-banner

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help