Download Print this page

Portal Temp-Pass Enable - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

portal temp-pass enable

Use portal temp-pass enable to enable portal temporary pass and set the temporary pass period.
Use undo portal temp-pass enable to disable portal temporary pass.
Syntax
portal temp-pass [ period period-value ] enable
undo portal temp-pass enable
Default
Portal temporary pass is disabled.
Views
Interface view
Service template view
Predefined user roles
network-admin
Parameters
period period-value: Specifies the temporary pass period. The value range for the period-value
argument is 10 to 180 seconds, and the default is 30 seconds.
Usage guidelines
Typically, a portal user cannot access the network before passing portal authentication. This feature
allows a user to access the Internet temporarily if the user uses a WeChat account to perform portal
authentication. During the temporary pass period, the user provides WeChat authentication
information to the WeChat server for the server to interact with the access device to finish portal
authentication.
Examples
# On GigabitEthernet 1/0/1, enable portal temporary pass and set the temporary pass period to 25
seconds. (Wired application.)
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] portal temp-pass period 25 enable
# On service template service1, enable portal temporary pass and set the temporary pass period to
25 seconds. (Wireless application.)
<Sysname> system-view
[Sysname] wlan service-template service1
[Sysname-wlan-st-service1] portal temp-pass period 25 enable
Related commands
display portal
portal traffic-accounting disable
Use portal traffic-accounting disable to disable traffic accounting for portal users.
Use undo portal traffic-accounting disable to restore the default.
Syntax
portal traffic-accounting disable
303

Advertisement

loading