ip http server

This command enables access to the switch through the web interface. When access is enabled, users can log in to the switch from the web interface. When access is disabled, users cannot log in to the switch's web server. Disabling the web interface takes effect immediately. All interfaces are affected.

Default Enabled
Format ip http server
Mode Privileged EXEC