8-3
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 and the users can access and control the device through the
Web function only after the HTTP service is enabled.
Examples
# Enable the HTTP service.
<Sysname> system-view
[Sysname] ip http enable
# Disable the HTTP service.
<Sysname> system-view
[Sysname] undo 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, in the range 1 to 65535.
Description
Use the
ip http port
command to configure the port number of the HTTP service.
Use the
undo ip http port
command to restore the default.
By default, the port number of the HTTP service is 80.
Note that this command does not check whether the configured port number conflicts with that of an
existing service. Therefore, you must ensure that the port number is not used by another service
before the configuration.
Examples
# Configure the port number of the HTTP service as 8080.
<Sysname> system-view
[Sysname] ip http port 8080
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...