Firewall commands - http
Enable the firewall HTTP server and specify the clients that are allowed to access it. (Configuration mode.)
[no] http ip_address [netmask] [if_name]
[no] http server enable
clear http
show httpThe HTTP server must be enabled to configure and monitor the firewall through PDM.
Syntax
http Relating to the Hypertext Transfer Protocol. ip_address Specifies the host or network authorized to initiate an HTTP connection to the firewall. netmask Specifies the network mask for the http ip_address. if_name firewall interface name on which the host or network initiating the HTTP connection resides. http server enable Enables the HTTP server required to run PDM. clear http Removes all HTTP hosts and disables the server. show http Lists the allowed hosts and the enable state of the HTTP server.
Defaults
If you do not specify a netmask, the default is 255.255.255.255 regardless of the class of IP address. The default if_name is inside.
Usage Guidelines
Access from any host will be allowed if 0.0.0.0 0.0.0.0 (or 0 0) is specified for ip_address and netmask.
Examples
The following http command example is used for one host:
http 16.152.1.11 255.255.255.255 outsideThe following http command example is used for any host:
http 0.0.0.0 0.0.0.0 inside