Cisco Cisco ASR 5000

Page of 9109
  Exec Mode Commands (A-C) 
clear dhcp statistics  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
3877 
clear dhcp statistics 
Deletes all previously gathered statistics for either a specific or all DHCP IPv4 servers configured within the given 
context. 
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
 
clear dhcp statistics [ dhcp-service svc_name | server ip_address ] 
dhcp-service
 
svc_name
 
Specifies the name of a specific DHCP service for which to clear statistics as an alphanumeric string of 1 
through 63 characters that is case sensitive. 
server
 
ip_address
 
Specifies the IP address of a DHCP server in IPv4 dotted-decimal notation as configured in the context for 
which to clear statistics. 
Usage 
Statistics for a single server can be cleared using the 
server
 keyword. Statistics for all DHCP servers in the 
context can be deleted by entering the command with no keywords. 
This command can be executed from any context configured on the system. 
If this command is executed from within the local context with no keywords, statistics will be cleared for 
every DHCP server configured on the system regardless of context. In addition, if the server keyword is used 
when executing from within the local context, statistics for all DHCP servers configured with the specified 
name will be cleared regardless of context. 
Example
 
The following command clears statistics for all configured DHCP servers within the context: 
clear dhcp statistics