Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

change default telnet port on vty ?

Hi,

i need to know how to change the default listen port (23) on vty'lines on a IOS router.

My problem is firewalling and I need to telnet the vty 'line of the router with other listen port (like this : telnet my.router.com 80).

Thanks,

Al

2 REPLIES
Bronze

Re: change default telnet port on vty ?

You can configure the route to accept telnet on a port other than 23 however, the ports that you can use are between 3000 and 3100.

Here is a sample config:

Global config

access-list 100 permit tcp any any eq 3005

line vty 0 4

access-class 100 in

rotary 5

password

login

This will allow you to telnet to port 3005. You can change this by changing the rotary group and the access-list.

New Member

Re: change default telnet port on vty ?

Thanks !

Al

312
Views
5
Helpful
2
Replies
CreatePlease to create content