Cisco Cisco ASR 5000

Page of 9109
  APN Configuration Mode Commands 
dhcp context-name  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
1337 
dhcp context-name 
Configures the name of the context on the system in which Dynamic Host Control Protocol (DHCP) functionality is 
configured. 
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
 
no ] dhcp context-name name 
no
 
Removes a previously configured context name. 
name
 
Specifies the name of a context configured on the system in which one or more DHCP services are 
configured. 
name
 is an alphanumeric string of 1 through 79 characters that is case sensitive. 
Usage 
If the APN is to support dynamic address assignment via DHCP (either the proxy or relay mode), this 
parameter must be configured to point the APN to the name of a pre-configured context on the chassis in 
which one or more DHCP services are configured. 
The  command can be used to identify a single DHCP service instance within the specified context to use to 
facilitate the address assignment. 
Example
 
The following command configures the APN to look for DHCP services in a context called 
dhcp-ctx:
 
dhcp context-name dhcp-ctx