Configuring a local portal Web service

Prerequisites

Before you configure an HTTPS-based local portal Web service, you must complete the following tasks:

Procedure

  1. Enter system view.

    system-view

  2. Create an HTTP- or HTTPS-based local portal Web service and enter its view.

    portal local-web-server { http | https ssl-server-policy policy-name [ tcp-port port-number ] }

  3. Specify the default authentication page file for the local portal Web service.

    default-logon-page filename

    By default, no default authentication page file is specified for the local portal Web service.

    To provide local portal Web service for users, you must use this command to specify a customized authentication page file as the default authentication page file.

  4. (Optional.) Configure the listening TCP port for the local portal Web service.

    tcp-port port-number

    By default, the HTTP service listening port number is 80 and the HTTPS service listening port number is the TCP port number set by the portal local-web-server command.