23
The specified domain must already exist; otherwise, users without any domain name carried in the
username cannot pass authentication.
To delete the ISP domain that is used as the default ISP domain, you must change it to a non-default ISP
domain first by using the
undo domain default enable
command.
Related commands:
domain
,
state
, and
display domain
.
Examples
# Create a new ISP domain named
test
, and configure it as the default ISP domain.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] quit
[Sysname] domain default enable test
idle-cut enable
Syntax
idle-cut
enable
minute
[
flow
]
undo
idle-cut enable
View
ISP domain view
Default level
2: System level
Parameters
minute
: Maximum idle duration allowed, in the range 1 to 120 minutes.
flow
: User idle threshold, which is in the range 1 to 10240000 bytes and defaults to 10240.
Description
Use the
idle-cut enable
command to enable the idle cut function and set the relevant parameters. With
the idle cut function enabled for a domain, the system logs out any user in the domain whose traffic is less
than the specified minimum traffic during the idle timeout period.
Use the
undo
idle-cut enable
command to restore the default.
By default, the function is disabled.
You can also set the idle timeout period on the server to make the server log out users whose traffic during
the idle timeout period is less than 10240 bytes, but your setting on the server takes effect only when you
disable the idle cut function on the device.
Related commands:
domain
.
Examples
# Enable the idle cut function and set the idle timeout period to 50 minutes and the traffic threshold to
1024 bytes for ISP domain
test
.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] idle-cut enable 50 1024