Web Server Commands
ip http server
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
472
42
ip http server
To enable the HTTP service on the switch, use the ip http server Global
Configuration mode command.
To disable the HTTP service on the switch, use the no form of this command.
Syntax
ip http server
no ip http server
Parameters
N/A
Default Configuration
The HTTP service is enabled by default.
Command Mode
Global Configuration mode
Example
switchxxxxxx(config)#
ip http server
ip http timeout-policy
To set the interval that the switch waits for user inputs for HTTP or HTTPS
sessions before automatic logoff, use the ip http timeout-policy Global
Configuration mode command.
To revert to its default setting, use the no form of this command.
Syntax
ip http timeout-policy
minutes
[http-only | https-only]
no ip http timeout-policy [http-only | https-only]