Cisco Cisco Packet Data Interworking Function (PDIF) Prospecto
APN Configuration Mode Commands
▀ dhcp lease-expiration-policy
▄ Cisco ASR 5x00 Command Line Interface Reference
1278
dhcp lease-expiration-policy
Configures the system’s handling of PDP contexts whose DHCP assigned IP lease has expired.
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
dhcp lease-expiration-policy { auto-renew | disconnect }
default dhcp lease-expiration-policy
default
Restores the dhcp lease-expiration-policy parameter to its default setting of auto-renew.
auto-renew
Configures the system to automatically renew an IP address’ lease when it is about to expire for PDP contexts
facilitated by the APN. Default: Enabled
facilitated by the APN. Default: Enabled
disconnect
Configures the system to automatically release the PDP context when the lease for the IP address associated
with that context expires. Default: Disabled
with that context expires. Default: Disabled
Usage
Use this command to specify the action the system is to take when leases for IP addresses for PDP contexts
that it are currently facilitated by the current APN are about to expire.
that it are currently facilitated by the current APN are about to expire.
Example
The following command causes the system to release PDP contexts associated with the current APN when the
lease for their DHCP-assigned IP address expires:
lease for their DHCP-assigned IP address expires:
dhcp lease-expiration-policy disconnect