< Home

display portal local-server

Function

The display portal local-server command displays the configurations of a built-in Portal server.

Format

display portal local-server

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring the built-in Portal authentication, run this command to view the configurations of a built-in Portal server.

Example

# Display the configurations of a built-in Portal server.

<HUAWEI> display portal local-server
 Portal local-server config:                                                    
  server status            : disable                                            
  Heartbeat-check status   : disable                                            
  server ip                : -                                                  
  authentication method    : chap                                               
  protocol                 : -                                                  
  https ssl-policy         : -                                                  
  server port              : 0                                                  
  session-timeout          : 8(h)                                               
  syslog-limit             : enable                                             
  syslog-limit period      : 300(s)                                             
  server pagename          : -                                                  
  server page-text         : -                                                  
  server policy-text       : -                                                  
  server background-image  : default-image0                                     
  server background-color  : -                                                  
  server logo              : -                                                  
  server ad-image          : - 
Table 1 Description of the display portal local-server command output

Item

Description

server status

Status of a built-in Portal server. To enable the built-in Portal server function, run the portal local-server command.
  • disable: Portal authentication is disabled.
  • enable: Portal authentication is enabled.

Heartbeat-check status

Heartbeat detection status of the built-in Portal server. To set the heartbeat detection status, run the portal local-server keep-alive command.
  • disable: indicates that the heartbeat detection function is disabled.
  • enable: indicates the forcible detection mode.
  • auto: indicates the automatic detection mode.

Heartbeat-timeout value

Heartbeat detection interval of the built-in Portal server. To set the heartbeat detection interval, run the portal local-server keep-alive command.

This parameter is unavailable when the value of Heartbeat-check status is disable.

server ip

IP address of a built-in Portal server. To set the server IP address, run the portal local-server ip command.

authentication method

Authentication method used by a built-in Portal server for Portal users. To set the authentication method, run the portal local-server authentication-method command.
  • chap: CHAP-based authentication (CHAP stands for Challenge Handshake Authentication Protocol.)
  • pap: PAP-based authentication (PAP stands for Password Authentication Protocol.)

protocol

Protocol used for authentication information exchange between a built-in Portal server and users. To enable the built-in Portal server function, run the portal local-server command.
  • http: Hypertext Transfer Protocol (HTTP)
  • https: Hypertext Transfer Protocol Secure (HTTPS)

https ssl-policy

SSL policy used for authentication information exchange between a built-in Portal server and users. To enable the built-in Portal server function, run the portal local-server command.

server port

TCP port number used by HTTPS. To specify a TCP port number used by HTTPS, run the portal local-server command.

session-timeout

User session timeout interval configured on the built-in Portal server. To set the session timeout interval, run the portal local-server timer session-timeout command.

syslog-limit

Status of the log suppression function for built-in Portal authentication users. To enable or disable the log suppression function, run the portal local-server syslog-limit enable command.

  • disable: indicates that the log suppression function is disabled for built-in Portal authentication users.
  • enable: indicates that the log suppression function is enabled for built-in Portal authentication users.

syslog-limit period

Log suppression duration for built-in Portal authentication users. To set the log suppression duration, run the portal local-server syslog-limit period command.

server pagename

Name of the page file package loaded to the built-in Portal server, run the portal local-server load command.

server page-text

Loaded use instruction page file of the built-in Portal server. To load a use instruction page file, run the portal local-server page-text load command.

server policy-text

Disclaimer page loaded to the built-in Portal server. To set the disclaimer page, run the portal local-server policy-text load command.

server background-image

Background image of the built-in Portal server login page. To set the background image, run the portal local-server background-image load command.

server background-color

Background color of the built-in Portal server login page. To set the background color, run the portal local-server background-color command.

server logo

Logo file of the built-in Portal server login page. To configure the logo file, run the portal local-server logo load command.

server ad-image

Advertisement image file of the built-in Portal server login page. To configure the advertisement image file, run the portal local-server ad-image load command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >