< Home

portal-type survey

Function

The portal-type survey command enables survey push to online users and sets the survey push frequency.

The undo portal-type survey command cancels survey push to online users.

The undo portal-type survey frequency command restores the survey push frequency to the default value.

The undo portal-type survey interface command restores survey push to users who send HTTP requests to any interface.

Format

portal-type survey [ frequency [ user-number ] number | interface interface-type interface-number ] *

undo portal-type survey

undo portal-type survey { frequency | interface }

Parameters

Parameter Description Value
frequency [ user-number ] number Specifies the frequency at which a questionnaire is pushed to online users.

If the user-number parameter is configured, the FW pushes the questionnaire once the number of online users reaches a specified threshold.

If the user-number parameter is not configured, the FW pushes the questionnaire once the number of HTTP requests (on the FW) reaches a specified threshold.

The value is an integer ranging from 10 to 1000000. By default, the questionnaire is pushed once at the frequency of 50000 HTTP requests.
interface interface-type interface-number

Specifies the interface to which users send HTTP requests. The questionnaire web page is pushed to these users. If this parameter is not configured, the FW pushes the questionnaire to users who send HTTP requests to any interface.

-

Views

Portal authentication template view

Default Level

2: Configuration level

Usage Guidelines

Only the USG6510E/6510E-POE/6530E supports this command.

By default, survey push to online users is disabled.

Example

# Set the questionnaire pushing frequency to 20000 Internet access requests.

<sysname> system-view
[sysname] user-manage portal-template template1
[sysname-portal-template-template1] portal-type survey frequency 20000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >