Enabling HTTP

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the HTTP service.

ip http enable

By default, the HTTP service is disabled.

3. (Optional.) Specify the HTTP service port number.

ip http port port-number

The default HTTP service port number is 80.

4. (Optional.) Apply a basic ACL for HTTP access control.

ip http acl { acl-number | name acl-name }

By default, no ACL is applied to the HTTP service.