Cisco Cisco ASR 5700

Page of 8994
APN Configuration Mode Commands   
▀  ip address alloc-method 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
1358 
   
Important:
  If this option is used, the name of the IP address pool from which to allocate addresses must be 
configured using the 
ip address pool-name
 command. If no pool name is specified, the system will attempt to 
allocate an address from any public pool configured in the destination context. 
no-dynamic
 
Disables the dynamic assignment of IP addresses to PDP contexts using this APN. Default: Disabled 
If a PDP context needing an IP address is received by an APN with this option enabled, it will be rejected 
with a cause code of 220 (Unknown PDP address or PDP type). 
prefer-dhcp-options
 
If this keyword is specified with 
dhcp-proxy
 for IP address allocation configuration, the GGSN will prefer 
DHCP-supplied parameters over values provided by AAA server or by local configuration. This keyword 
controls the following parameters: 
 
primary and secondary Domain Name Server (DNS) addresses 
 
primary and secondary NetBIOS Name Server (NBNS) addresses 
These values will be sent out in the PCO IE of a GTP Create PDP Response Message whenever the MS 
Requests them in A Create PDP Request Message. 
Default: Disabled 
Important:
  This keyword is available only with dhcp-proxy ip allocation method as this functionality is 
implemented only for GGSN acting as DHCP proxy. 
By default, this functionality is disabled. Hence, DNS and NBNS values received from a DHCP server will 
not be considered by the GGSN. 
allow-deferred
 
Enables support for P-GW deferred address allocation. Default: Disabled 
allow-user-specified
 
Enables support for PDP contexts requesting the use of specific (static) addresses. Default: Enabled 
Important:
  If this option is not enabled, PDP contexts requesting the use of a static address will be rejected with 
a cause code of 220 (Unknown PDP address or PDP type). 
Usage 
Use this command to configure the method by which the APN profile will assign IP addresses to PDP 
contexts. 
When the PDP context is being established and the APN name is determined, the system will examine the 
APN’s configuration profile. Part of that procedure is determining how to handle IP address allocation. The 
figure in the Example section below displays the process used by the system to determine how the address 
should be allocated. 
Example
 
The following command configures the APN to dynamically assign an address from a DHCP server and 
reject PDP sessions with static IP addresses: