The ip-pool command sets the IP address pool bound to a service scheme or moves the location of a configured IP address pool bound to a service scheme.
The undo ip-pool command deletes the IP address pool bound to a service scheme. If no parameter is specified, all the IP address pools bound to a service scheme are deleted.
By default, no IP address pool is bounded in a service scheme.
Parameter |
Description |
Value |
|---|---|---|
pool-name |
Specifies the IP address pool name. |
The IP address pool must already exist. |
move-to new-position |
Moves the location of a configured IP address pool bound to a service scheme. |
The location must already exist in service scheme. |
Usage Scenario
This command limits the range of IP addresses of users in a service scheme. The ip-pool command is used to reference the configured address pool to a service scheme. An IP address pool is configured using the ip pool (system view) command.
Prerequisites
A global IP address pool has been created using the ip pool (system view) command and the address range in the IP address pool has been specified using the network (IP address pool view) or section (IP address pool view) command.
Precautions
# Set the IP address pool pool1 for the service scheme svcscheme1.
<sysname> system-view [sysname] ip pool pool1 [sysname-ip-pool-pool1] network 192.168.100.0 mask 24 [sysname-ip-pool-pool1] quit [sysname] aaa [sysname-aaa] service-scheme svcscheme1 [sysname-aaa-service-svcscheme1] ip-pool pool1
# Change the position of the IP address ippool1 in the service scheme svcscheme1.
<sysname> system-view [sysname] ip pool ippool1 [sysname-ip-pool-ippool1] network 192.168.100.0 mask 24 [sysname-ip-pool-ippool1] quit [sysname] ip pool ippool2 [sysname-ip-pool-ippool2] network 192.168.200.0 mask 24 [sysname-ip-pool-ippool2] quit [sysname] aaa [sysname-aaa] service-scheme svcscheme1 [sysname-aaa-service-svcscheme1] ip-pool ippool1 [sysname-aaa-service-svcscheme1] ip-pool ippool2 [sysname-aaa-service-svcscheme1] ip-pool ippool1 move-to 2