< Home

display portal

Function

The display portal command displays the Portal authentication configuration.

Format

display portal [ interface interface-type interface-number | configuration ]

Parameters

Parameter

Description

Value

interface interface-type interface-number

Displays Portal authentication information of a specified interface.

  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

If this parameter is not specified, Portal authentication information of all interfaces is displayed.

-

configuration

Displays the global Portal authentication information.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display portal command to view the Portal authentication configuration and check whether the configuration is correct.

Example

# Display the Portal authentication configuration.

<HUAWEI> display portal
  Portal max-user number:16384
  Quiet function is Enabled
  Different-server is Enabled 
  Parameter set:Quiet Period        60s   Quiet-times          3
  Logout packets resend: Resend-times 3  Timeout 5s
  Portal Https Redirect: Enable
  Portal JS Redirect   : Enable
  Portal 302 Redirect  : Enable       

  Vlanif10 protocol status: down, web-auth-server layer2(direct)
Table 1 Description of the display portal command output

Item

Description

Portal max-user number

Maximum number of concurrent Portal authentication users allowed to access the device, the value varies according to device models.

To set the maximum number of concurrent Portal authentication users allowed to access the device, run the portal max-user command.

Quiet function is Enabled or Quiet function is Disabled

Whether the quiet function in Portal authentication is enabled:
  • Enabled
  • Disabled

To enable the quiet function, run the portal quiet-period command.

Different-server is Enabled or Different-server is Disabled

Whether a device is enabled to process user logout requests sent by a Portal server other than the one from which users log in:
  • Enabled
  • Disabled

To configure a device to process user logout requests sent by a Portal server other than the one from which users log in, run the portal logout different-server enable command.

Parameter set

Parameter settings of the quiet function in Portal authentication.
  • Quiet Period: indicates the quiet period in Portal authentication. To set the quiet period in Portal authentication, run the portal timer quiet-period command.
  • Quiet-times: indicates the maximum number of authentication failures within 60 seconds before a Portal authentication user enters the quiet state. To set the maximum number of authentication failures, run the portal quiet-times command.

Logout packets resend

Configuration of the logout packet re-transmission function for Portal authentication users.
  • Resend-times: indicates the number of re-transmission times for Portal authentication user logout packets.
  • Timeout: indicates the re-transmission interval of Portal authentication user logout packets.

To set the re-transmission interval, run the portal logout resend timeout command.

Portal Https Redirect

Whether HTTPS redirection of Portal authentication is enabled:

  • Enable
  • Disable

To enable this function, run the authentication https-redirect enable command.

Portal JS Redirect

Whether the function of inserting a JavaScript file during Portal redirection is enabled.
  • Enable
  • Disable

To enable this function, run the portal redirect js enable command.

Portal 302 Redirect

Whether redirection based on the status code 302 is enabled for Portal authentication:
  • Enable
  • Disable

To configure this function, run the portal redirect-302 enable command.

interface protocol status

Link layer protocol state of the interface and the enabled Portal authentication mode.

  • up: indicates that the interface is running properly.
  • down: indicates that the interface is disabled.
  • web-auth-server layer3: indicates that the authentication mode is set to Layer 3 Portal authentication on a specified interface.
  • web-auth-server layer2(direct): indicates that the authentication mode is set to Layer 2 Portal authentication on a specified interface.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >