NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

CrustySparks's avatar
Jan 16, 2018
Solved

M4300 trying to rest ip http port number to default port 80

 

Trying to reset the http port back to default 80 from 6535:

my startup-config ... partial ...

exit
ip http port 6535 <---
ip http secure-server
ip http secure-protocol TLS1
ip ssh server enable

 

CLI manual says:

no ip http port

 

Switch says:

(M4300-12X12F) (Config)#no ip http ?

                                                         accounting Configure an Accounting List.
                                                         authentication Configure an Authentication List.

 

(M4300-12X12F) #show version

Switch: 1

System Description............................. M4300-12X12F ProSAFE 12-port 10GBASE-T and 12-port 10G SFP+, 12.0.2.20, 1.0.0.9
Machine Model.................................. M4300-12X12F
Serial Number.................................. 4G43697E80107
Burned In MAC Address.......................... 10:DA:43:F9:47:91
Software Version............................... 12.0.2.20
CPLD version................................... 0x5
Bootcode Version............................... 1.0.0.9
Current Time................................... Jan 16 09:53:40 2018 (UTC-8:00)
Current SNTP Sync Status....................... Success

 

(M4300-12X12F) (Config)#show ip http

HTTP Mode (Unsecure)........................... Enabled
HTTP Port...................................... 6535
Maximum Allowable HTTP Sessions................ 16
HTTP Session Hard Timeout...................... 24 hours
HTTP Session Soft Timeout...................... 15 minutes

HTTP Mode (Secure)............................. Enabled
Secure Port.................................... 443
Secure Protocol Level(s)....................... TLS1 -----
Maximum Allowable HTTPS Sessions............... 16
HTTPS session hard timeout..................... 24 hours
HTTPS session soft timeout..................... 15 minutes
Certificate Present............................ True
Certificate Generation In Progress............. False

(M4300-12X12F) (Config)#

 

(M4300-12X12F) (Config)#show captive-portal

Administrative Mode............................ Disable
Operational Status............................. Disabled
Disable Reason................................. Administrator Disabled
CP IP Address.................................. 0.0.0.0

(M4300-12X12F) (Config)#

  • Hopchen's avatar
    Hopchen
    Jan 17, 2018

    Hi CrustySparks,

     

    The issue is that you are doing this from the global config mode. You need to do it from EXEC mode, not config mode :)

     

    As this:

    (M4300) >enable
    (M4300) #ip http server
    (M4300) #ip http port 80

     

     

    Cheers

8 Replies

  • schumaku's avatar
    schumaku
    Guru - Experienced User

    Dunno why the documented "no ip http port" does not work, no switch at hand, try this:

     

    no ip http server

    ip http server

    ip http port 80

     

    • CrustySparks's avatar
      CrustySparks
      Tutor

      (M4300-12X12F) (Config)#no ip http server
                                         ^
      % Invalid input detected at '^' marker.

      (M4300-12X12F) (Config)#

      • schumaku's avatar
        schumaku
        Guru - Experienced User

        ...continue with the other commands, regardless...

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More