NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
CrustySparks
Jan 16, 2018Tutor
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 ena...
- 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 80Cheers
CrustySparks
Jan 16, 2018Tutor
&
(M4300-12X12F) #config
(M4300-12X12F) (Config)#no ip http server
^
% Invalid input detected at '^' marker.
(M4300-12X12F) (Config)#ip http server
^
% Invalid input detected at '^' marker.
(M4300-12X12F) (Config)#ip http port 80
^
% Invalid input detected at '^' marker.
(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)#
I'm guessing that I'll have to modify the startup config and edit out the offending line and restart the switch because it seems to be innacessible from the command line. If you look at the top part of the startup you see that it comes before the configure command:
serviceport protocol none
serviceport ip 10.10.10.1 255.255.255.0 0.0.0.0
no serviceport ipv6 enable
vlan database
vlan 2-6
vlan name 2 "admin"
vlan name 3 "WiFi"
vlan name 4 "stdnt"
vlan name 5 "mgnt"
vlan name 6 "voip"
no vlan routing 1
vlan routing 4 1
vlan routing 3 2
vlan routing 5 3
vlan routing 2 4
vlan routing 6 5
exit
ip http port 6535
ip http secure-server
ip http secure-protocol TLS1
ip ssh server enable
configure
sntp server "172.16.0.2"
clock timezone -8 minutes 0
stack
member 1 5
exit
& etc ....
That option used to be available on the System Management Tab in the config pages.
Hopchen
Jan 17, 2018Prodigy
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
- CrustySparksJan 17, 2018Tutor
Ahem ... :smileyembarrassed: ... thank you. That was it ... I think too much of a Cisco hangover ... :smileysurprised:
- schumakuJan 17, 2018Guru - Experienced UserBased on the # prompt I've assumed you are in config mode. Silly me 8-)
- CrustySparksJan 17, 2018Tutor
Been there ... done that ... :smileyfrustrated:
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!