Comware

 View Only
last person joined: 3 days ago 

Expand all | Collapse all

Close TCP Port 23 - Telnet 3COM 5500-EI

This thread has been viewed 0 times
  • 1.  Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 13, 2018 01:18 PM
      |   view attached

    Hi, 

    I would like to know how to close TCP port 23.

    When I use nmap it is open.  Is there any way to close it in 3com 5500-EI?

    Can anyone please help?

    Thank you very much. 

     

     


    #telnet
    #3Com
    #3com5500
    #tcpport


  • 2.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    MVP GURU
    Posted Apr 15, 2018 02:21 PM

    What's about trying with the telnet server disable command?



  • 3.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 16, 2018 03:14 AM

    Thank you very much for your answer. 

    It didn´t work.  Or, I didn´t know how to do it. 

    When I tried it :

    <5500-EI>system-view

    [5500-EI]telnet server disable
    ^
    % Unrecognized command found at '^' position.

    Is there any other way?

     

    Thank you very much.



  • 4.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    MVP GURU
    Posted Apr 16, 2018 05:11 AM
    Strange.

    Which options the telnet server command have? check with Tab after writing telnet server at prompt once in system-view mode.


  • 5.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 16, 2018 05:59 AM

    Hi, 

    Not many options with tab in system-view:

    telnet 

    telnet-server

     



  • 6.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    MVP GURU
    Posted Apr 16, 2018 06:34 AM
    Well...telnet command (as for telnet server command plus its options) and telnet-server command have different syntax. Isn't?


  • 7.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 17, 2018 03:28 AM

    Hi, 

    With tab didn´t gave more options, but in the user manual there is a few:

    telnet 

    telnet ipv6

    telnet source-interface

    telnet source-ip

    telnet-server source-interface

    telnet-server source-ip

     

    Thank you very much, 

     



  • 8.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    MVP GURU
    Posted Apr 17, 2018 05:17 AM

    At this point I wonder if we're speaking about the same matter...so, could you provide sanitized (no S/N or private references) outputs of:

    • display version (and eventually also display device manuinfo)
    • display current-configuration

    commands?

    Thanks.



  • 9.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 17, 2018 05:47 AM

    Hi, 

    SuperStack 4 Switch 5500-EI 52-Port Software Version 3Com OS V3.02.03s56

     

    Is this enough?

    I would like to close listening port TCP 23 Telnet.

    Thank you very much. 



  • 10.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    MVP GURU
    Posted Apr 17, 2018 05:49 AM

    Gosh, it's a Comware V3...



  • 11.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 17, 2018 08:26 AM
    Try:

    undo telnet server enable
    --
    Kindest Regards,

    Frankie Cruz
    Network Administrator
    Lehigh Carbon Community College
    4525 Education Park Drive
    Schnecksville, PA 18078
    610-799-1713
    fcruz@lccc.edu


  • 12.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    MVP GURU
    Posted Apr 17, 2018 09:25 AM
    That looks promising...


  • 13.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 17, 2018 10:17 AM

    Thank you very much for your replay. 

    It didn´t work though.

     



  • 14.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 17, 2018 10:30 AM
    If you have "protocol inbound ssh" applied at the user interface, telnet
    server should no longer apply.

    Example:

    * user-interface vty 0 4*
    * authentication-mode scheme*
    * protocol inbound ssh *

    This is assuming that you have ssh server enabled



    --
    Kindest Regards,

    Frankie Cruz
    Network Administrator
    Lehigh Carbon Community College
    4525 Education Park Drive
    Schnecksville, PA 18078
    610-799-1713
    fcruz@lccc.edu


  • 15.  RE: Close TCP Port 23 - Telnet 3COM 5500-EI

    Posted Apr 17, 2018 11:33 AM

    Thank you for your replay, 

    I already tried it. Once I aplied it, it no longer lets connect through Telnet, but if I do a nmap analysis it shows TCP port 23 it is still listening. 

    Is there any way to close that port?

     

    Thank you.