Ip Http Enable; Ip Http Port - H3C S5120-EI Series Command Reference Manual

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Examples
# Associate the HTTP service with ACL 2001 to only allow the clients within the 10.10.0.0/16 network to
access the device through HTTP.
<Sysname> system-view
[Sysname] acl number 2001
[Sysname-acl-basic-2001] rule permit source 10.10.0.0 0.0.255.255
[Sysname-acl-basic-2001] quit
[Sysname] ip http acl 2001

ip http enable

Syntax
ip http enable
undo ip http enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the ip http enable command to enable the HTTP service.
Use the undo ip http enable command to disable the HTTP service.
The device can act as the HTTP server if the HTTP service is enabled.
Related commands: display ip http.
Examples
# Enable the HTTP service.
<Sysname> system-view
[Sysname] ip http enable

ip http port

Syntax
ip http port port-number
undo ip http port
View
System view
Default level
3: Manage level
Parameters
port-number: Port number of the HTTP service, which ranges from 1 to 65535.
31

Advertisement

Table of Contents
loading

Table of Contents