![Cisco ASR 9000 Serie Configuration Manuals Download Page 343](http://html.mh-extra.com/html/cisco/asr-9000-serie/asr-9000-serie_configuration-manuals_66679343.webp)
Guidelines for Creating PM Statistics Collection Templates
When creating PM statistics collection templates, follow these guidelines:
•
Use the
performance-mgmt statistics
command to create a PM statistics collection template.
•
You can define multiple templates for any given entity; however, only one PM statistics collection
template for a given entity can be enabled at a time.
•
When configuring a template, you must name the template. You can designate the template for the entity
as the default template using the
default
keyword or name the template with the
template
keyword and
template-name
argument. The default template contains the following default settings:
◦
A sample interval of 10 minutes.
◦
A sample size of five sampling operations.
•
Configure the settings for the sample interval and sample size in the template.
◦
The sample interval sets the frequency of the sampling operations performed during the sampling
cycle. You can configure the sample interval with the
sample-interval
keyword and
minutes
argument. The range is from 1 to 60 minutes. The default is 10 minutes.
◦
The sample size sets the number of sampling operations to be performed before exporting the data
to the TFTP server. You can configure the sample size with the
sample-size
keyword and
minutes
argument. The range is from 1 to 60 samples. The default is five samples.
•
The export cycle determines how often PM statistics collection data is exported to the TFTP server. The
export cycle can be calculated by multiplying the sample interval and sample size (sample interval x
sample size = export cycle). For example, suppose that the sample interval is set at a frequency of 10
minutes, and the sample size is set to five sampling operations. Given that, a total of five sampling
operations would be performed at a frequency of one sampling operation every 10 minutes. This cycle
is referred to as the sampling cycle. A binary file containing the data collected from those samples would
be exported to the TFTP server once every 50 (5 x 10) minutes. This cycle is referred to as the export
cycle.
Specifying a small sample interval increases CPU utilization, whereas specifying a large sample size
increases memory utilization. The sample size and sample interval, therefore, may need to be adjusted to
prevent system overload.
Caution
Guidelines for Enabling and Disabling PM Statistics Collection Templates
When enabling PM statistics collection templates, follow these guidelines:
•
Use the
performance-mgmt apply statistics
command to enable a PM statistics collection template.
•
Only one PM statistics collection template for a given entity can be enabled at a time.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
327
Implementing Performance Management
PM Statistics Collection Overview