Cisco Cisco Packet Data Interworking Function (PDIF)
APN Configuration Mode Commands
▀ ip address alloc-method
▄ Command Line Interface Reference, StarOS Release 18
1368
ip address alloc-method
Configures the method by which this APN will obtain IP addresses for PDP contexts.
Product
GGSN
P-GW
SAEGW
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > APN Configuration
configure > context context_name > apn apn_name
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-apn)#
Syntax
ip address alloc-method { dhcp-proxy [ allow-deferred ] [ prefer-dhcp-options ] | dhcp-
relay | local [ allow-deferred ] | no-dynamic [ allow-deferred ] } [ allow-user-specified
]
relay | local [ allow-deferred ] | no-dynamic [ allow-deferred ] } [ allow-user-specified
]
default ip address allocation-method
default
Restores the APN ip parameters to the following default settings.
dhcp-proxy
Default: Disabled
Configures the APN to assign an IP address received from a DHCP server.
Configures the APN to assign an IP address received from a DHCP server.
Important:
If this option is used, the system’s DHCP parameters must be configured.
dhcp-relay
Configures the APN to forward DHCP packets received from the MS to a DHCP server. Default: Disabled
Important:
If this option is used, the system’s DHCP parameters must be configured.
local
Configures the APN to allocate IP addresses from a pool configured in the destination context on the system.
Default: Enabled
Default: Enabled