cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1343
Views
0
Helpful
5
Replies

Telnet into specific VTY lne

Kevin Dorrell
Level 10
Level 10

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

1 Accepted Solution

Accepted Solutions

mohammedmahmoud
Level 11
Level 11

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.

View solution in original post

5 Replies 5

shivlu jain
Level 5
Level 5

kevin

As i know that works with the access server.

For telnet only 23 port works.

regards

shivlu

mohammedmahmoud
Level 11
Level 11

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.

Thank you Mohammed, it was exactly that.

Kevin Dorrell

Luxembourg

Kevin,

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

BR,

Mohammed Mahmoud.

lamav
Level 8
Level 8

Interesting

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: