display web-auth-server configuration

Function

The display web-auth-server configuration command displays the Portal server configuration.

Format

display web-auth-server configuration

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the Portal server template is configured, the display web-auth-server configuration displays the Portal server configuration.

Example

# Display the Portal server configuration.

<HUAWEI> display web-auth-server configuration
  Listening port        : 2000                                                  
  Portal                : version 1, version 2                                  
  Include reply message : enabled      
  ------------------------------------------------------------------------
  Web-auth-server Name : abc                                                    
  IP-address           : 192.168.2.20                                           
  Shared-key           : %@%@CzDI4gECB>#5fI+Avcj!WI:e%@%@                       
  Source-IP            : -                                                      
  Port / PortFlag      : 50100 / NO                                             
  URL                  : http://192.168.2.30:8080/webagent        
  URL Template         :                                                        
  Redirection          : Enable                                                 
  Sync                 : Enable                                                 
  Sync Seconds         : 300                                                    
  Sync Max-times       : 3                                                      
  Detect               : Enable                                                 
  Detect Seconds       : 60                                                     
  Detect Max-times     : 3                                                      
  Detect Critical-num  : 0                                                      
  Detect Action        : log                                                    
  Bound Vlanif         : 10   
  VPN Instance         :          
                                                                                
  ------------------------------------------------------------------------      
  1 Web authentication server(s) in total                      
Table 1 Description of the display web-auth-server configuration command output

Item

Description

Listening port

Listening port for Portal protocol packets.

To configure a listening port, run the web-auth-server listening-port command.

Portal

Portal protocol version.

To configure the Portal protocol version, run the web-auth-server version command.

Include reply message

Whether the packets sent from the device to the Portal server contain authentication responses.

To enable the device to transparently transmit authentication responses of users sent by the authentication server to the Portal server, run the web-auth-server reply-message command.

Web-auth-server Name

Name of the Portal server.

To configure the Portal server name, run the web-auth-server (system view) command.

IP-address

IP address of the Portal server.

To configure the IP address of the Portal server, run the server-ip (Portal server template view) command.

Shared-key

Shared key of the Portal server.

To configure the shared key of the Portal server, run the shared-key (Portal server template view) command.

Source-IP

IP address used for communication with the Portal server.

To configure the IP address used for communication with the Portal server, run the source-ip (Portal server template view) command.

Port / PortFlag

  • Port: indicates the port number of the Portal server.
  • PortFlag: indicates whether packets are always sent through this port.

To configure the port number of the Portal server, run the port (Portal server template view) command.

URL

URL of the Portal server.

To configure the URL of the Portal server, run the url (Portal server template view) command.

URL Template

URL template bound to the Portal server template.

To configure the URL template, run the url-template (Portal server template view) command.

Redirection

Redirection status of Portal authentication.
  • Disable: Redirection of Portal authentication is disabled.
  • Enable: Redirection of Portal authentication is enabled.

To configure redirection of Portal authentication, run the web-redirection disable (Portal server template view) command.

Sync

User information synchronization.

To enable user information synchronization, run the user-sync command.

Sync Seconds

User information synchronization interval.

To set the user information synchronization interval, run the user-sync command.

Sync max-times

Maximum number of times that user information synchronization fails.

To set the maximum number of times that user information synchronization fails, run the user-sync command.

Detect

Portal server detection and keepalive functions.

To configure Portal server detection and keepalive functions, run the server-detect command.

Detect Seconds

Detection interval of the Portal server.

To set the detection interval of the Portal server, run the server-detect command.

Detect max-times

Maximum number of detection failures.

To set the maximum number of detection failures, run the server-detect command.

Detect Critical-num

Minimum number of Portal servers in Up state. If the number of running Portal servers is less than the minimum, enable the survival function in the corresponding Portal server template view.

To configure this function, run the server-detect command.

Detect Action

Action taken after the number of detection failures exceeds the maximum.
  • log: The device sends logs after the number of detection failures exceeds the maximum.
  • trap: The device sends traps after the number of detection failures exceeds the maximum.
  • permit-all: Portal authentication on the interface is disabled after the number of detection failures exceeds the maximum.

To configure an action taken after the number of detection failures exceeds the maximum, run the server-detect command.

Bound Vlanif

VLANIF interface to which the Portal server template is bound.

To bind the Portal server template to a VLANIF interface, run the web-auth-server (interface view).


Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.