performance-mgmt apply statistics
To apply a statistics template and enable statistics collection, use the
performance-mgmt apply statistics
command in global configuration mode. To stop statistics collection, use the
no
form of this command.
performance-mgmt apply statistics entity location
{
all
|
node-id
} {
template-name | default
}
no performance-mgmt apply statistics
Syntax Description
Specifies an entity for which you want to apply a statistics template:
•
bgp
—
Applies a statistics collection template for Border Gateway Protocol (BGP).
•
interface data-rates
—
Applies a statistics collection template for data rates.
•
interface generic-counters
—
Applies a statistics collection template for generic
counters.
•
mpls ldp
—
Applies a template for monitoring an MPLS Label Distribution Protocol
(LDP) neighbor.
•
node cpu
—
Applies a statistics collection template for the central processing unit
(CPU). Use the
location
keyword with the
all
keyword or
node-id
argument when
enabling a statistics collection template for this entity.
•
node memory
—
Applies a statistics collection template for memory utilization. Use
the
location
keyword with the
all
keyword or
node-id
argument when enabling a
statistics collection template for this entity.
•
node process
—
Applies a statistics collection template for processes. Use the
location
keyword with the
all
keyword or
node-id
argument when enabling a statistics collection
template for this entity.
•
ospf v2protocol
—
Applies a statistics collection template for Open Shortest Path First
v2 (OSPFv2) process instances.
•
ospf v3protocol
—
Applies a statistics collection template for OSPFv3 process instances.
entity
Specifies all nodes or a particular node.
Specify the
location all
keywords for all nodes, or the
node-id
argument to specify a particular
node. The
node-id
argument is entered in the
rac
k/
slot
/
module
notation. You must specify
either the
location all
keywords or the
location
keyword and
node-id
argument with the
node cpu
,
node memory
, or
node process
entity.
location
{
all
|
node-id
}
Name of a predefined template used for statistics collection. A template name can be any
combination of alphanumeric characters, and may include the underscore character (_). Use
the
show running performance-mgmt, on page 411
command to display a list of available
templates.
template-name
Applies the default template.
default
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
374
OL-24735-01
Performance Management Commands
performance-mgmt apply statistics