47
•
If the
session-time include-idle-time
command is configured, the device adds the idle cut
period or user online detection interval to the actual online duration. The user online detection
period is supported only by portal authentication. The online duration sent to the server is longer
than the actual online duration of the user.
•
If the
undo session-time include-idle-time
command is configured, the device excludes the
idle cut period or user online detection interval from the actual online duration. The online
duration sent to the server is shorter than the actual online duration of the user.
Examples
# Configure the device to include the idle cut period or user online detection interval in the online
duration sent to the server for users in ISP domain
test
.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] session-time include-idle-time
Related commands
display domain
state (ISP domain view)
Use
state
to set the status of an ISP domain.
Use
undo state
to restore the default.
Syntax
state
{
active
|
block
}
undo state
Default
An ISP domain is in active state.
Views
ISP domain view
Predefined user roles
network-admin
Parameters
active
: Places the ISP domain in active state to allow the users in the ISP domain to request network
services.
block
: Places the ISP domain in blocked state to prevent users in the ISP domain from requesting
network services.
Usage guidelines
By blocking an ISP domain, you disable offline users of the domain from requesting network
services. However, the online users are not affected.
Examples
# Place ISP domain
test
in blocked state.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] state block
Related commands
display domain