The objective of this article is to show you how to disable HTTP and HTTPS services in the 200, 220, 250, 300, 350, and 550 series switches.
If you want to disable the web user interface (UI) and use only the command line interface (CLI) to manage the switch in your network, you have come to the right place. The Hypertext Transfer Protocol (HTTP) and Hypertext Transfer Protocol Secure (HTTPS) can be disabled in the 220, 250, 300, 350, and 550 series switches using either the web UI or the CLI.
Not all switch models include a console port for management. For models without a console port, command line access must be enabled via SSH and/or Telnet.
Login to your switch by entering the username and password and click Log In.
Navigate to Security > TCP/UDP Services.
Uncheck the boxes for HTTP Service and HTTPS Service.
If remote command line access is needed, make sure the box next to SSH Service is checked.
Click Apply.
The web browser will lose access to the web UI and further configuration must be done using the CLI via SSH or the console port (if the switch has one).
To save the configuration, enter the following command using CLI.
Switch# write
Press Y to confirm.
Overwrite file [startup-config].... (Y/N) [N] ?Y
Enable the SSH service if remote command line access is needed and not already enabled by entering:
Switch(config)# ip ssh server
Use the following commands to disable the HTTP and HTTPS services.
Switch(config)# no ip http server
Switch(config)# no ip http secure-server
To save the configuration, enter
Switch# write
Overwrite file [startup-config].... (Y/N) [N] ?Y
You have now learned the steps to disable HTTP/HTTPS on your switch using the web UI and CLI.
Revision | Publish Date | Comments |
---|---|---|
1.0 |
22-Jun-2023 |
Initial Release |