cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
8125
Views
0
Helpful
6
Replies

Telnet on port 6066

Delfino Tiongco
Level 1
Level 1

We have several routers that can only be accessed on telnet port 6066 (vice 23).  I have no global exec privilege so I can not provide config.

So my question is: how do you configure the router to accept port 6066 for telnet and deny port 23?

Thanks in advance.

Del

1 Accepted Solution

Accepted Solutions

fb_webuser
Level 6
Level 6

by changing the system port-map.

like this, since I´m doing telnet, it don´t allow me to change the telnet port, because its using it.

Router(config)#ip port-map telnet port udp 6066

Router(config)#ip port-map telnet port tcp 6066

%Unable to add port-map entry.

This port entry is already contained in the application x11

Router(config)#exit

Router#sh ip port-map | include telnet

Default mapping: telnet tcp port 23 system defined

Default mapping: telnet udp port 6066 user defined

has you can see, in the ip port-map you see the system mapping and can change the system ports to anotther one as user defined.

Default mapping: telnet udp port 6066 user defined

defined

---

Posted by WebUser Pedro Seabra Ávila from Cisco Support Community App

View solution in original post

6 Replies 6

fb_webuser
Level 6
Level 6

by changing the system port-map.

like this, since I´m doing telnet, it don´t allow me to change the telnet port, because its using it.

Router(config)#ip port-map telnet port udp 6066

Router(config)#ip port-map telnet port tcp 6066

%Unable to add port-map entry.

This port entry is already contained in the application x11

Router(config)#exit

Router#sh ip port-map | include telnet

Default mapping: telnet tcp port 23 system defined

Default mapping: telnet udp port 6066 user defined

has you can see, in the ip port-map you see the system mapping and can change the system ports to anotther one as user defined.

Default mapping: telnet udp port 6066 user defined

defined

---

Posted by WebUser Pedro Seabra Ávila from Cisco Support Community App

Thank you very much!

Del

Hi,

Are you sure this is working? As far as I know this feature is not meant for this but for firewall feature to recognize application using non standard ports.I think you can accomplish this using  a static PAT with a loopback like this:

ip nat inside tcp 1.1.1.1 23 interface x/x 6066  where 1.1.1.1 is a loopback IP address

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

hello

Convert page to telnet cisco level15

thank you

hello

how Convert page to telnet cisco level15

philips_006
Level 1
Level 1

Hi I would like to use the rotary command to telnet into a cisco router. Lets say a port-6187(non standard port). I know that PAT and port-map can be used.

Is there any other way that can be used.

Plz advise,thanks in advance.

Message was edited by: rob roy

Review Cisco Networking products for a $25 gift card