disable http access , enable https access

Created: Nov 7, 2018 09:46:24Latest reply: Nov 7, 2018 09:48:13 240 1 0 0
Question: hi we need to enable https access and disable http access pl****ll me the commands

Answer:

1、http server disable/enable 

http server enable

Function

The http server enable command enables the HTTP server function.

The undo http server enable command disables the HTTP server function.

The http server disable command disables the HTTP server function.

By default, the HTTP IPv4 server function is enabled, and the HTTP IPv6 server function is disabled.

Format

http [ ipv6 ] server enable

undo http [ ipv6 ] server enable

http [ ipv6 ] server disable

http://support.huawei.com/hedex/hdx.do?docid=EDOC1000081667&lang=en&tocURL=resources/dc/http_server_enable.html


2、http secure disable/enable

http secure-server enable

Function

The http secure-server enable command enables the HTTPS service function.

The undo http secure-server enable command disables the HTTPS service function.

The http secure-server disable command disables the HTTPS server function.

By default, the HTTPS IPv4 service function is enabled, and the HTTPS IPv6 server function is disabled.

Format

http [ ipv6 ] secure-server enable

undo http [ ipv6 ] secure-server enable

http [ ipv6 ] secure-server disable


http://support.huawei.com/hedex/hdx.do?docid=EDOC1000081667&lang=en&tocURL=resources/dc/http_server_enable.html


3 also can find result with "Command Query Tool"

http://support.huawei.com/onlinetoolsweb/infoM/index.do?lang=en&domain=1





  • x
  • convention:

butcher     Created Nov 7, 2018 09:48:13 Helpful(0) Helpful(0)

Command Query Tool 

http://support.huawei.com/onlinetoolsweb/infoM/index.do?lang=en&domain=1

094810lxof22m6t2ofmho1.png

  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top