04-24-2012 02:30 PM - editado 03-07-2019 06:19 AM
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
¡Resuelto! Ir a solución.
el 04-24-2012 06:32 PM
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
el 04-24-2012 06:32 PM
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
el 04-25-2012 07:50 AM
Thank you very much!
Del
el 12-13-2012 11:21 AM
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.
el 02-06-2018 03:33 AM
hello
Convert page to telnet cisco level15
thank you
el 02-06-2018 03:37 AM
hello
how Convert page to telnet cisco level15
el 12-13-2012 08:19 AM
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
Descubra y salve sus notas favoritas. Vuelva a encontrar las respuestas de los expertos, guías paso a paso, temas recientes y mucho más.
¿Es nuevo por aquí? Empiece con estos tips. Cómo usar la comunidad Guía para nuevos miembros