< 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 configuration on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.

Portal authentication configuration in the system view or on all interfaces is displayed if this parameter is not specified.

-

configuration

Displays the global Portal authentication configuration.

-

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 timer offline-detect length:500                        
 Portal max-user number:100                                              
 Quiet function is Disabled                                            
 Different-server is Disabled
 Parameter set: Quiet Period      60s   Quiet-times          3     
 Logout packets resend: Resend-times 3  Timeout 5s
 Portal user(s) on slot 0:1
                                                                   
 Vlanif10 protocol status: up, web-auth-server layer2(direct)
   Portal domain: tsm                                           
   Auth-network:                                              
       10.3.3.3          255.255.255.255                    
       10.8.0.0          255.255.0.0                        

# Display the Portal authentication configuration on VLANIF10.

<HUAWEI> display portal interface vlanif 10
                                                                                
 Vlanif10 protocol status: up, web-auth-server layer2(direct)                 
    Portal domain: tsm                                           
    Auth-network:                                              
       10.3.3.3          255.255.255.255                    
       10.8.0.0          255.255.0.0                        
Table 1 Description of the display portal command output

Item

Description

Portal timer offline-detect length

Portal authentication user offline detection interval.

To set the user offline detection interval, run the portal timer offline-detect command.

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, command, run the portal logout different-server enable command.

Parameter set

Parameter settings of the quiet function in Portal authentication.
  • Quiet Period: indicates the quite period in Portal authentication. To set the quite 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 user(s) on slot 0

Statistics on Portal authentication users on the device.

NOTE:

This parameter is unavailable when no Portal authentication user is online.

When Portal authentication users go online through an Eth-Trunk, the number of Portal authentication users on the device where Eth-Trunk member interfaces are located is the same as the actual number of Portal authentication users on the device.

Vlanif10 protocol status

Link layer protocol state of the VLANIF interface.

  • up: indicates that the interface is running properly.
  • down: indicates that the interface is disabled.
  • web-auth-server layer2(direct): indicates that the authentication mode is set to Layer 2 Portal authentication on a specified interface.

Portal domain

Name of a forcible Portal authentication domain.

To set a forcible Portal authentication domain, run the portal domain command.

Auth-network

Portal authentication subnet.

To set the Portal authentication subnet, run the portal auth-network command.

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