Cisco Cisco ASR 5000

Page of 9109
Exec Mode Commands (D-S)   
▀  dhcp test 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
4082 
   
dhcp test 
Tests DHCP (Dynamic Host Configuration Protocol) functions for a particular DHCP service. 
Product
 
GGSN 
ASN-GW 
P-GW 
SAEGW 
Privilege
 
Security Administrator, Administrator, Operator 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
dhcp test dhcp-service svc_name [ all | server ip_address ] 
dhcp-service
 
svc_name
 
Specifies the name of the DHCP service as an alphanumeric string of 1 through 63 characters that is case 
sensitive. 
all
 
Tests DHCP functionality for all servers. 
server
 
ip_address
 
Tests DHCP functionality for the server specified by an IP address entered using IPv4 dotted-decimal 
notation. 
Usage 
Once DHCP functionality is configured on the system, this command can be used to verify that it is 
configured properly and that it can successfully communicate with the DHCP server. 
Executing this command causes the system to request and allocate an IP address and then release it. 
If a specific DHCP server is not specified, then each server configured in the service is tested. 
Example
 
The following command tests the systems ability to get an IP address from all servers a DHCP service called 
DHCP-Gi
 is configured to communicate with: 
dhcp test dhcp-service DHCP-Gi all