
Purpose
Command or Action
Sets a defined regular expression group to one or more statistics
or threshold template.
performance-mgmt regular-expression
regular-expression name
Step 2
Example:
RP/0/RSP0/CPU0:router(config)#
performance-mgmt regular-expression regexp
By default, no regular expression group is configured.
Once the regular expression group is configured, you
can apply it to multiple templates.
Note
Specifies a regular expression index to the defined group.
index index-number regular-expression-string
Step 3
Example:
RP/0/RSP0/CPU0:router(config-perfmgmt-regex)#
index 10 match
The Instance filtering by regular-expression is
currently supported in interface entities only (Interface
basic-counters, generic-counters, data-rates.
Note
commit
Step 4
Creating PM Statistics Collection Templates
This task explains how to create a PM statistics collection template.
SUMMARY STEPS
1.
configure
2.
performance-mgmt statistics entity
{
default
|
template template-name
} [
sample-size size
]
[
sample-interval minutes
]
3.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Creates a PM statistics collection template for the specified entity.
performance-mgmt statistics entity
{
default
|
template template-name
}
Step 2
•
Use the
entity
argument to specify the entity for which you want to create a
PM statistics collection template.
[
sample-size size
] [
sample-interval
minutes
]
Example:
RP/0/RSP0/CPU0:router(config)#
•
Use the
default
keyword to apply the default template to the PM statistics
template for the specified entity. The default template contains a default
sample interval of 10 minutes and a default sample size of 5 sampling
operations.
performance-mgmt statistics
interface data-rates default
•
Use the
template
keyword and
template-name
argument to designate a unique
name for a template.
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
353
Implementing Performance Management
Creating PM Statistics Collection Templates