Telnet into specific VTY lne

Answered Question
Feb 23rd, 2008
User Badges:
  • Green, 3000 points or more

I'm having a problem telnetting to a specific VTY line. I thought they were available on ports 3001 onwards, but no joy. I cannot find it in the documentation. This is what is happening:

<code>

R3#telnet 172.16.105.1

Trying 172.16.105.1 ... Open


R5#show run | sec line

line con 0

exec-timeout 0 0

privilege level 15

logging synchronous

line aux 0

exec-timeout 0 0

privilege level 15

line vty 0 4

exec-timeout 0 0

privilege level 15

no login

R5#exit


[Connection to 172.16.105.1 closed by foreign host]

R3#telnet 172.16.105.1 3001

Trying 172.16.105.1, 3001 ...

% Connection refused by remote host


R3#

</code>

Where am I going wrong?


Kevin Dorrell

Luxembourg


Correct Answer by mohammedmahmoud about 9 years 5 months ago

Hi Kevin,


You need to use the rotary command under the VTY line(s), by default all the VTY lines are used sequentially via port 23 (the first free one is used), you can define a rotary group under specific VTY line(s) and use the defined number + 3000 to telnet to this specific line.


BR,

Mohammed Mahmoud.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
shivlu jain Sat, 02/23/2008 - 05:09
User Badges:
  • Silver, 250 points or more

kevin


As i know that works with the access server.

For telnet only 23 port works.




regards

shivlu

Correct Answer
mohammedmahmoud Sat, 02/23/2008 - 06:23
User Badges:
  • Green, 3000 points or more

Hi Kevin,


You need to use the rotary command under the VTY line(s), by default all the VTY lines are used sequentially via port 23 (the first free one is used), you can define a rotary group under specific VTY line(s) and use the defined number + 3000 to telnet to this specific line.


BR,

Mohammed Mahmoud.

Kevin Dorrell Sat, 02/23/2008 - 09:23
User Badges:
  • Green, 3000 points or more

Thank you Mohammed, it was exactly that.


Kevin Dorrell

Luxembourg


mohammedmahmoud Sun, 02/24/2008 - 00:00
User Badges:
  • Green, 3000 points or more

Kevin,


You are very welcomed, and thank you very much for the rating.



BR,

Mohammed Mahmoud.

lamav Sat, 02/23/2008 - 11:00
User Badges:
  • Blue, 1500 points or more

Interesting

Actions

This Discussion