01-08-2021 02:46 PM
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
Solved! Go to Solution.
01-08-2021 03:55 PM
try and let us know.
line 0/2/0 0/2/15 login local no exec
transport input all
stopbits 1
flowcontrol hardware
01-08-2021 03:55 PM
try and let us know.
line 0/2/0 0/2/15 login local no exec
transport input all
stopbits 1
flowcontrol hardware
01-08-2021 04:01 PM
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.
02-17-2024 02:02 AM
% Connection refused by remote host
02-17-2024 04:43 AM - edited 02-17-2024 04:43 AM
% 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.
05-01-2025 10:23 PM
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.
01-08-2021 04:13 PM
not sure - never tried, hardly use the console - until disaster
try
no motd-banner
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide