Cisco Cisco IOS Software Release 12.4(22)YD Références techniques

Page de 176
 
  ip local pool
49
Cisco Mobile Wireless Home Agent  Feature for IOS Release 12.4(22)YD3
OL-21463-02
Low and High Thresholds
Cisco Mobile Wireless Home Agent Release 3.1 enhanced the CISCO-IP-LOCAL-POOL-MIB to 
generate traps when pool utilization reached a low threshold or high threshold in percentage. Objects 
“cIpLocalPoolPercentAddrThldLo” and “cIpLocalPoolPercentAddrThldHi” are defined for the high and 
low threshold watermark, respectively.
When the percentage of used addresses in an IP local pool equals or exceeds the high threshold, a 
“cilpPercentAddrUsedHiNotif” notification is generated. Once the notification is generated, it is 
disarmed and will not be generated again until the number of used addresses falls below the value 
indicated by “cIpLocalPoolPercentAddrThldLo”.
When the percentage of used addresses in an IP local pool falls below the low threshold, a 
“cilpPercentAddrUsedLoNotif” notification will be generated. Once the notification is generated, it is 
disarmed and will not be generated again until the number of used addresses equals or exceeds the value 
indicated by “cIpLocalPoolPercentAddrThldHi”.
IP address pools are displayed with the show ip local pool EXEC command.
Examples
The following example creates a pool of local IP addresses named “XYZPool,” which contain all IP 
addresses in the range 100.1.1.1 to 100.1.1.10. The group is named “MWG”, and the command specifies 
a cache size of 50, and a low and high threshold of 50 and 90:
Router(config)# ip local pool XYZPool  100.1.1.1  100.1.1.10 group MWG cache-size 50 
threshold 50 90
The following example creates a group of local IP address pools named “pool2,” which contains all IP 
addresses in the range 172.16.23.0 to 172.16.23.255:
ip local pool pool2 172.16.23.0 172.16.23.255
The following example configures a pool of 1024 IP addresses:
no ip local pool default
ip local pool default 10.1.1.0 10.1.4.255
Note
Although not required, it is good practice to precede local pool definitions with a no form of the 
command to remove any existing pool, because the specification of an existing pool name is taken as a 
request to extend that pool with the new IP addresses. If the intention is to extend the pool, the no form 
of the command is not applicable.
The following example configures multiple ranges of IP addresses into one pool:
ip local pool default 10.1.1.0 10.1.9.255
ip local pool default 10.2.1.0 10.2.9.255
The following examples show how to configure two pool groups and IP address pools in the base system 
group:
ip local pool p1_g1 10.1.1.1 10.1.1.50 group grp1
ip local pool p2_g1 10.1.1.100 10.1.1.110 group grp1
ip local pool p1_g2 10.1.1.1 10.1.1.40 group grp2
ip local pool lp1 10.1.1.1 10.1.1.10
ip local pool p3_g1 10.1.2.1 10.1.2.30 group grp1
ip local pool p2_g2 10.1.1.50 10.1.1.70 group grp2
ip local pool lp2 10.1.2.1 10.1.2.10