07-Layer 3—IP Services Command Reference

HomeSupportReference GuidesCommand ReferencesH3C MSR810 2600 3600 Routers Command References(V7)-R0707-6W30207-Layer 3—IP Services Command Reference
21-Lighttpd service commands
Title Size Download
21-Lighttpd service commands 47.04 KB

Lighttpd Web service commands

The following compatibility matrix shows the support of hardware platforms for Lighttpd Web service:

 

Hardware

Lighttpd Web service compatibility

MSR810, MSR810-W, MSR810-W-DB, MSR810-LM, MSR810-W-LM, MSR810-10-PoE, MSR810-LM-HK, MSR810-W-LM-HK, MSR810-LMS-EA

Yes

MSR810-LMS, MSR810-LUS

No

MSR2600-6-X1, MSR2600-10-X1

No

MSR 2630

No

MSR3600-28, MSR3600-51

No

MSR3600-28-SI, MSR3600-51-SI

No

MSR3600-28-X1, MSR3600-28-X1-DP, MSR3600-51-X1, MSR3600-51-X1-DP

No

MSR3610-I-DP, MSR3610-IE-DP

No

MSR3610-X1, MSR3610-X1-DP, MSR3610-X1-DC, MSR3610-X1-DP-DC

No

MSR 3610, MSR 3620, MSR 3620-DP, MSR 3640, MSR 3660

No

MSR3610-G, MSR3620-G

No

light-http server directory

Use light-http server directory to specify the lighttpd Web service working directory.

Syntax

light-http server directory directory

undo light-http server directory

Default

No lighttpd Web service working directory is specified.

Views

System view

Predefined user roles

network-admin

Parameters

directory: Specifies the lighttpd Web service working directory.

Usage guidelines

If the lighttpd Web server is already enabled, the specified lighttpd Web service working directory takes effect after you disable the lighttpd Web server and then enable the server again.

To use the lighttpd Web server to provide HTTPS access service, you must save the required certificate to the lighttpd Web service working directory.

Examples

# Set the lighttpd Web service working directory to flash:/lighttpd.

<Sysname> system-view

[Sysname] light-http server directory flash:/lighttpd

Related commands

light-http server enable

light-http server enable

Use light-http server enable to enable the lighttpd Web server.

Use undo light-http server enable to disable the lighttpd Web server.

Syntax

light-http server enable

undo light-http server enable

Default

The lighttpd Web server is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Specify the lighttpd Web working directory before enabling the lighttpd Web server.

For the lighttpd Web server to provide lightweight HTTP or HTTPS access service correctly, make sure it uses different service ports than other services. By default, the lightweight HTTP service port number is 80 and the lightweight HTTPS service port number is 443.

Examples

# Enable the lighttpd Web server.

<Sysname> system-view

[Sysname] light-http server enable

Related commands

light-http server directory

light-http server http-port

Use light-http server http-port to specify the lightweight HTTP service port number.

Use undo light-http server http-port to restore the default.

Syntax

light-http server http-port port-number

undo light-http server http-port

Default

The lightweight HTTP service port number is 80.

Views

System view

Predefined user roles

network-admin

Parameters

port-number: Specifies the lightweight HTTP service port number, in the range of 1 to 65535.

Usage guidelines

When the lighttpd Web server is enabled, changing the lightweight HTTP service port number re-enables the lighttpd Web server and closes all lightweight HTTP and HTTPS connections. To log in again, users must enter the new URL in the Web browser's address bar.

Examples

# Set the lightweight HTTP service port number to 8080.

<Sysname> system-view

[Sysname] light-http server http-port 8080

Current configuration will restart the lighttpd service. Continue? [Y/N]:

light-http server https-port

Use light-http server https-port to specify the lightweight HTTPS service port number.

Use undo light-http server https-port to restore the default.

Syntax

light-http server https-port port-number

undo light-http server https-port

Default

The lightweight HTTPS service port number is 443.

Views

System view

Predefined user roles

network-admin

Parameters

port-number: Specifies the lightweight HTTPS service port number, in the range of 1 to 65535.

Usage guidelines

When the lighttpd Web server is enabled, changing the lightweight HTTPS service port number re-enables the lighttpd Web server and closes all lightweight HTTP and HTTPS connections. To log in again, users must enter the new URL in the Web browser's address bar.

Examples

# Set the lightweight HTTPS service port number to 8081.

<Sysname> system-view

[Sysname] light-http server https-port 8081

Current configuration will restart the lighttpd service. Continue? [Y/N]:

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网