performance-mgmt apply thresholds
To apply a thresholds template and enable threshold collection, use the
performance-mgmt apply thresholds
command in global configuration mode. To stop threshold collection, use the
no
form of this command.
performance-mgmt apply thresholds entity location
{
all
|
node-id
} {
template-name | default
}
no performance-mgmt apply thresholds
Syntax Description
Specifies an entity for which you want to apply a threshold template:
•
bgp
—
Applies a threshold monitoring template for Border Gateway Protocol (BGP).
•
interface data-rates
—
Applies a threshold monitoring template for data rates.
•
interface generic-counters
—
Applies a threshold monitoring template for generic
counters.
•
mpls ldp
—
Applies a template for monitoring an MPLS Label Distribution Protocol
(LDP) neighbor.
•
node cpu
—
Applies a threshold monitoring template for central processing unit (CPU)
utilization. Use the
location
keyword in conjugation with the
all
keyword or
node-id
argument when enabling a statistics collection template for this entity.
•
node memory
—
Applies a threshold monitoring template for memory utilization. Use
the
location
keyword in conjugation with the
all
keyword or
node-id
argument when
enabling a statistics collection template for this entity.
•
node process
—
Applies a threshold monitoring template for processes. Use the
location
keyword in conjugation with the
all
keyword or
node-id
argument when enabling a
statistics collection template for this entity.
•
ospf v2protocol
—
Applies a threshold monitoring template for OSPFv2.
•
ospf v3protocol
—
Applies a threshold monitoring template for OSPFv3.
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
rack/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 threshold 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
OL-24735-01
377
Performance Management Commands
performance-mgmt apply thresholds