12-14-2023 10:15 PM
C1111-4P has only one serial port (con 0)
I tried to use the port for accessing console of another router, but telnet is rejected.
#telnet 10.10.10.10 2000
Trying 10.10.10.10, 2000 ...
% Connection refused by remote host
10.10.10.10 is loopback of C1111-4P and config of con 0 is as below:
line con 0
logging synchronous
modem InOut
no exec
transport input all
transport output all
stopbits 1
flowcontrol hardware
IOS version is 17.6.1a (a bit old)
What will be the cause of this issue , config, IOS or hardware limitation ?
12-14-2023 10:22 PM
Hello @k-baba
If you are trying to access the router using Telnet, then you should be looking at the configuration of the VTY (Virtual Terminal) lines, not the console line.
The `line con 0` configuration is for the console port, and for Telnet/ssh access, you need to configure the VTY lines.
Here's an example of how you can configure Telnet access on the VTY lines:
line vty 0 4
login local
transport input telnet
- `line vty 0 4`: This specifies the VTY lines from 0 to 4.
- `login local`: Enables local username and password authentication.
- `transport input telnet`: Specifies that Telnet is allowed for remote connections.
After making this configuration, you should be able to use Telnet to connect to the router.
12-21-2023 10:14 PM
Since I got offline C1111-4P for testing, I can modify config freely.
Solution by wither "login local", "transport input telnet", "ip port-map telnet port tcp 2000" did not work.
I attach current config of C1111-4P.
Does anyone know how I can see port number allocated to console port ? Is it 2000 by default ?
Best Regards,
12-22-2023 12:21 AM
how I can see port number allocated to console port ?
You mean to say Physical console port ? Console port used for emergency ?
you can change Telnet and SSH port from default to any free port you like.
12-14-2023 10:23 PM
Line vty 0 4
Password xxxx
Login
Transport input all
Then try access via telnet.
MHM
12-15-2023 12:53 AM
You can use rotary under vty to access using 2001 or more but I dont recommendations it except case you need to separate vty.
So use defualt telnet command without specifying l4 port.
MHM
12-15-2023 12:49 AM
Hope you are trying to connect to other router using IP - not terminal console ?
also check make sure the IP able to ping before you start doing telnet
#telnet 10.10.10.10 2000
Trying 10.10.10.10, 2000 ...
% Connection refused by remote host
as i see that you are telnet using port 2000 (by default only 23)
have you configured on Router to listen on different port example :
(config)#ip port-map telnet port tcp 2000
Verify :
#sh ip port-map | include telnet
Other note you posted only Console configuraton, Hope you have VTY Lines configured.
Note : telnet is not secured - so move to SSH for secure to protect devices.
12-15-2023 12:52 AM - edited 12-15-2023 01:49 AM
Hi, did you tried with username and password local,
and
line vty 0 4
privilege level 15
login local
??
******* If This Helps, Please Rate *******
12-22-2023 12:12 AM
I'm unable to directly access specific community resources, but I can provide general guidance on using communities for troubleshooting and assistance.
Here's a structured approach:
Identify the Relevant Community:
Create an Account (if necessary):
Search for Existing Solutions:
Start a New Thread (if needed):
Engage with Community Members:
Follow Community Guidelines:
Additional Tips:
I hope this guidance helps you effectively utilize community resources to resolve your console port issue! Raising Cane’s Menu price
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