Cisco Cisco ASR 5000

Pagina di 9109
  Exec Mode Commands (A-C) 
clear apn statistics  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
3851 
clear apn statistics 
Deletes all previously gathered statistics for either a specific Access Point Name (APN) or all APNs configured with the 
given context. 
Product
 
GGSN 
P-GW 
SAEGW 
Privilege
 
Security Administrator, Administrator, Operator 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
clear apn statistics [ name apn_name | smgr-instance instance ] [ | { grep grep_options | 
more } ]
 
name apn_name
 
Specifies the name of a specific APN configured in the context for which to clear statistics. 
apn_name
 is the 
name of the APN expressed as an alphanumeric string of 1 through 63 characters that is case sensitive. 
smgr-instance instance
 
Specifies a particular Sessmgr instance in the context for which to clear APN statistics. 
instance
 must be an 
integer from 1 to 4294967295. 
grep grep_options | more
 
Pipes (sends) the output of this command to the specified command. You must specify a command to which 
the output of this command will be sent. 
For details on the usage of 
grep
 and 
more
, refer to the Regulating a Command’s Output section of the 
Command Line Interface Overview chapter. 
Usage 
Statistics for a single APN can be cleared using the 
name
 keyword. Statistics for all APNs in the context can 
be deleted by entering the command with no keywords. 
If this command is executed from within the local context with no keywords, statistics will be cleared for 
every APN configured on the system regardless of context. In addition, if the 
name
 keyword is used when 
executing from within the local context, statistics for all APNs configured with the specified name will be 
cleared regardless of context. 
Example
 
The following command clears statistics for an APN called 
isp1
clear apn statistics name isp1