Cisco Cisco IOS Software Release 12.4(2)XB6 Références techniques

Page de 176
 
  ip local pool
50
Cisco Mobile Wireless Home Agent  Feature for IOS Release 12.4(22)YD1
OL-21445-01
In the example:
Group grp1 consists of pools p1_g1, p2_g1, and p3_g1.
Group grp2 consists of pools p1_g2 and p2_g2.
Pools lp1 and lp2 are not associated with a group and are therefore members of the base system 
group.
Note that IP address 10.1.1.1 overlaps groups grp1, grp2, and the base system group. Also note that there 
is no overlap within any group including the base system group, which is unnamed.
The following examples show configurations of IP address pools and groups for use by a VPN and VRF:
ip local pool p1_vpn1 10.1.1.1 10.1.1.50 group vpn1
ip local pool p2_vpn1 10.1.1.100 10.1.1.110 group vpn1
ip local pool p1_vpn2 10.1.1.1 10.1.1.40 group vpn2
ip local pool lp1 10.1.1.1 10.1.1.10
ip local pool p3_vpn1 10.1.2.1 10.1.2.30 group vpn1
ip local pool p2_vpn2 10.1.1.50 10.1.1.70 group vpn2
ip local pool lp2 10.1.2.1 10.1.2.10
The examples show configuration of two pool groups, including pools in the base system group, as 
follows:
Group vpn1 consists of pools p1_vpn1, p2_vpn1, and p3_vpn1.
Group vpn2 consists of pools p1_vpn2 and p2_vpn2.
Pools lp1 and lp2 are not associated with a group and are therefore members of the base system 
group.
Note that IP address 10.1.1.1 overlaps groups vpn1, vpn2, and the base system group. Also note that 
there is no overlap within any group including the base system group, which is unnamed.
The VPN needs a configuration that selects the proper group by selecting the proper pool based on 
remote user data. Thus, each user in a given VPN can select an address space using the pool and 
associated group appropriate for that VPN. Duplicate addresses in other VPNs (other group names) are 
not a concern, because the address space of a VPN is specific to that VPN.
In the example, a user in group vpn1 is associated with some combination of the pools p1_vpn1, 
p2_vpn1, and p3_vpn1, and is allocated addresses from that address space. Addresses are returned to the 
same pool from which they were allocated.
Here is example output from Cisco IOS Release 12.4(22)YD that illustrates the recycle keyword:
Router(config)#ip local pool xyz 1.1.1.1 ?
  A.B.C.D     Last IP address of range
  cache-size  Number of free entries to search
  group       Create ip local pool group
  priority    Priority metric
  recycle     recycle address before reuse
  threshold   Threshod percentage for pool group range
  <cr>
 
Router(config)#ip local pool xyz 1.1.1.1 1.1.1.11 ?
  cache-size  Number of free entries to search
  group       Create ip local pool group
  priority    Priority metric
  recycle     recycle address before reuse
  threshold   Threshod percentage for pool group range
  <cr>