32
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
Related commands
domain
ip pool
Use
ip
pool
to configure an address pool for assigning addresses to PPP users.
Use
undo
ip
pool
to delete an address pool.
Syntax
ip pool
pool-number low-ip-address
[
high-ip-address
]
undo
ip
pool
pool-number
Default
No IP address pool is configured for PPP users.
Views
ISP domain view
Default command level
2: System level
Parameters
pool-number
: Address pool number, ranging from 0 to 99.
low-ip-address
and
high-ip-address
: Start and end IP addresses of the address pool. Up to 1024
addresses are allowed for an address pool. If you do not specify the end IP address, there is only one
IP address in the pool, which is the start IP address.
Usage guidelines
You can also configure an address pool for PPP users in system view. An IP address pool configured
in system view is used to assign IP addresses to PPP users who do not need to be authenticated. To
specify the address pool used for assigning an IP address to the peer device, use the
remote
address
command in interface view.
An IP address pool configured in ISP domain view is used to assign IP addresses to the ISP
domain's PPP users who must be authenticated. Configure IP address pools for ISP domains in
scenarios where an interface serves a great amount of PPP users but the address resources are
inadequate. For example, a GigabitEthernet interface running PPPoE can accommodate up to 4096
users. However, only one address pool with up to 1024 addresses can be configured on its VT. This
is far from what is required. To address the issue, configure address pools for ISP domains and
assign addresses from them to the PPP users by domain.
Examples
# Configure the IP address pool 0 with the address range of 129.102.0.1 to 129.102.0.10.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] ip pool 0 129.102.0.1 129.102.0.10