No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display web-auth-server configuration

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
  Source-IP             : -

------------------------------------------------------------------------------- 
  Enabled protocol      : https
  Listening port        : 8443 
  SSL policy            : default_policy

-------------------------------------------------------------------------------
  Web-auth-server Name : huawei
  IP-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        :
  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 26-66  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 (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 profile 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 profile 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 profile 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 profile view) command.

URL

URL of the Portal server.

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

URL Template

URL template bound to the Portal server template.

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

URL Template ParaName

Encrypted URL parameter name.

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

URL Template IVName

Initialization vector (IV) used in URL parameter encryption.

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

URL Template Key

Key used in URL parameter encryption.

To configure the URL template, run the url-template (Portal server profile 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 profile 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 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.

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

Redirection URL.

To configure the redirection 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.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 195104

Downloads: 118

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next