Task ID
Operations
Task ID
read, write
monitor
Examples
This example shows how to create a template for monitoring BGP thresholds, which checks if the number of
connections dropped exceeds 50 for any BGP peers. The
toggle rearm
keywords are included so that once
the threshold is passed, the event will not be reported unless the value of ConnDropped is reset:
RP/0/0/CPU0:router(config)#
performance-mgmt thresholds bgp template bgp_thresh1
RP/0/0/CPU0:router(config-threshold-bgp)#
ConnDropped GT 50 rearm toggle
This example shows how to create a template for monitoring node CPU utilization that checks if there is a 25
percent increase at any given interval:
RP/0/0/CPU0:router(config)#
performance-mgmt thresholds node cpu template cpu_thresh1
RP/0/0/CPU0:router(config-threshold-bgp)#
AverageCPUUsed GT 25percent
This example shows how to create a template for monitoring the input CRC errors for interfaces. The rule
checks whether the number of errors reach or exceed 1000 for any given interface:
RP/0/0/CPU0:router(config)#
performance-mgmt thresholds interface generic_ctr template
intf_crc_thresh1
RP/0/0/CPU0:router(config-threshold-bgp)#
InputCRC GE 1000
Related Commands
Description
Command
Enables threshold monitoring for BGP.
performance-mgmt apply thresholds, on page 377
Configures a TFTP resource for performance
management.
performance-mgmt resources tftp-server, on page
384
Displays a list of templates and the template being
applied.
show running performance-mgmt, on page 411
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
399
Performance Management Commands
performance-mgmt thresholds