< Home

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
 -------------------------------------------------------------------------------
   Enabled protocol      : https
   Listening port        : 8443
   SSL policy            : default_policy
-------------------------------------------------------------------------------
  Web-auth-server Name : huawei
  IP-address           :
  IPv6 Address         : 
  Shared-key           :
  Source-IP            : -
  Port / PortFlag      : 50100 / NO
  URL                  : https://192.168.2.10:8443/webauth
  URL Template         :
  URL Template ParaName:  
  URL Template IVName  :  
  URL Template Key     :  
  Redirection          : Enable
  Sync                 : Disable
  Sync Seconds         : 300
  Sync Max-times       : 3
  Detect               : Disable
  Detect Seconds       : 60
  Detect Max-times     : 3
  Detect Critical-num  : 0
  Detect Action        :
  Detect Type          : portal  
  VPN Instance         :
  Bound Portal profile :
  Protocol             : http 
  Http Get-method      : disable
  Password Encrypt     : none
  Cmd ParseKey         : cmd 
  Username ParseKey    : username 
  Password ParseKey    : password
  MAC Address ParseKey : macaddress
  IP Address ParseKey  : ipaddress
  Initial URL ParseKey : initurl 
  Login Cmd            : login 
  Logout Cmd           : logout
  Login Success 
       Reply Type      : redirect initial URL
       Redirect URL    : 
       Message         : LoginSuccess! 
  Login Fail
       Reply Type      : redirect login URL
       Redirect URL    : 
       Message         : LoginFail!
  Logout Success 
       Reply Type      : message
       Redirect URL    : 
       Message         : LogoutSuccess!
  Logout Fail 
       Reply Type      : message 
       Redirect URL    : 
       Message         : LogoutFail!
-------------------------------------------------------------------------------
  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.

  • version 1, version 2: The device supports both the versions V1.0 and V2.0.
  • version 2: The device supports the versions V2.0.

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.

  • enabled
  • disabled

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.

Enabled protocol

Enabled HTTP or HTTPS protocol.

  • http
  • https

To enable the HTTP or HTTPS protocol, run the portal web-authen-server command.

Listening port

HTTP or HTTPS port number.

To configure the HTTP or HTTPS port number, run the portal web-authen-server command.

SSL policy

SSL policy referenced by the HTTPS protocol.

To configure the SSL policy referenced by the HTTPS protocol, run the portal web-authen-server command.

Web-auth-server Name

Name of the Portal server template.

To configure the Portal server template name, run the web-auth-server command.

IP-address

IPv4 address of the Portal server.

To configure the IP address of the Portal server, run the server-ip command.

IPv6 Address

IPv6 address of the Portal server.

To configure the IP address of the Portal server, run the server-ip command.

Shared-key

Shared key of the Portal server.

To configure the shared key of the Portal server, run the shared-key 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 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 command.

URL

URL of the Portal server.

To configure the URL of the Portal server, run the url command.

URL Template

URL template bound to the Portal server template.

To configure the URL template, run the url-template command.

URL Template ParaName

Encrypted URL parameter name.

To configure the URL template, run the url-template command.

URL Template IVName

Initialization vector (IV) used in URL parameter encryption.

To configure the URL template, run the url-template command.

URL Template Key

Key used in URL parameter encryption.

To configure the URL template, run the url-template 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 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 function.

To configure Portal server detection function, 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.

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.

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

Detect Type

Portal server detection mode.
  • Portal: Portal-based Portal server detection mode
  • HTTP: HTTP-based Portal server detection mode

To configure the Portal server detection mode, run the server-detect type command.

VPN Instance

VPN instance used in Portal authentication.

To configure the VPN instance, run the vpn-instance command.

Bound Portal profile

Portal access profile to which the Portal server template is bound.

To configure the Portal access profile, run the web-auth-server (Portal access profile view) command.

Http Get-method

Whether users submit user name and password information to the device in GET mode:

  • disable: GET mode is not used.
  • enable: GET mode is used.

To configure the GET mode, run the http get-method enable command.

Protocol

Protocol used in Portal authentication.

  • Portal
  • http

To configure the protocol used in Portal authentication, run the protocol command.

Password Encrypt

Whether the password is encrypted:

  • none: The password is not encrypted.
  • uam: The password is encrypted using the ASCII character mode.

To configure the password encryption mode, run the protocol command.

Cmd ParseKey

Command identification keyword.

To configure the command identification keyword, run the http-method post command.

Username ParseKey

User name identification keyword.

To configure the user name identification keyword, run the http-method post command.

Password ParseKey

User password identification keyword.

To configure the user password identification keyword, run the http-method post command.

MAC Address ParseKey

User MAC address identification keyword.

To configure the user MAC address identification keyword, run the http-method post command.

IP Address ParseKey

User IP address identification keyword.

To configure the user IP address identification keyword, run the http-method post command.

Initial URL ParseKey

User initial login URL identification keyword.

To configure the user initial login URL identification keyword, run the http-method post command.

Login Cmd

User login identification keyword.

To configure the user login identification keyword, run the http-method post command.

Logout Cmd

User logout identification keyword.

To configure the user logout identification keyword, run the http-method post command.

Login Success

User login success.

Reply Type

Redirection response type.

  • redirect initial URL: A user is redirected to the initial login URL after successful login.
  • redirect login URL: A user is redirected to the login URL after a login failure.
  • message: specifies the displayed message.
  • redirect URL: A user is redirected to a specified URL.

To configure the redirection response type, run the http-method post command.

Redirect URL

Redirect URL.

To configure the redirect URL, run the http-method post command.

Message

Displayed message.

To configure the displayed message, run the http-method post command.

Login Fail

User login failure.

Logout Success

User logout success.

Logout Fail

User logout failure.

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