performance-mgmt thresholds
To configure a template for threshold checking, use the performance-mgmt thresholds command in global
configuration mode. To remove a threshold template, use the no form of this command.
performance-mgmt thresholds entity {template template-name| default} attribute operation value [ value2 ]
[ percent ] [rearm {toggle| window window-size}]
no performance-mgmt thresholds
Syntax Description
Specify an entity for which you want to create a template:
• bgp —Creates a template for threshold collection for Border Gateway Protocol
(BGP).
• interface data-rates —Creates a threshold monitoring template for data rates.
• interface generic-counters —Creates a threshold monitoring template for generic
counters.
• mpls ldp —Applies a template for monitoring an MPLS Label Distribution Protocol
(LDP) neighbor.
• node cpu —Creates a threshold monitoring template for the central processing
unit (CPU).
• node memory —Creates a threshold monitoring template for memory utilization.
• node process —Creates a threshold monitoring template for processes.
• ospf v2protocol —Creates a threshold monitoring template for Open Shortest Path
First v2 (OSPFv2) process instances.
• ospf v3protocol —Creates a threshold monitoring template for OSPFv3 process
instances.
entity
Specifies that a template will be used for collection.template
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 to display information about
templates, and to display the templates that are being used.
template-name
Applies the settings of the default template.default
The attributes for the entity. See Table 37: Attribute Values, on page 391for a list of
attributes.
attribute
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 389
Performance Management Commands
performance-mgmt thresholds