threshold type average
To take action on average values to violate a threshold, use the threshold type average command in IP SLA
reaction condition configuration mode. To clear the threshold type (reaction will never happen), use the no
form of this command.
threshold type average number-of-probes
no threshold type
Syntax Description
When the average of the last five values for the monitored element exceeds the upper
threshold or the average of the last five values for the monitored element drops below
the lower threshold, the action is performed as defined by the action command. Range
is 1 to 16.
number-of-probes
Command Default
If there is no default value, no threshold type is configured.
Command Modes
IP SLA reaction condition configuration
Command History
ModificationRelease
This command was introduced.Release 3.3.0
Usage Guidelines
The threshold type average command is supported only when used with the react command and
jitter-average, packet-loss, and rtt keywords.
Task ID
OperationsTask ID
read, writemonitor
Examples
The following example shows how to set the number of probes for the react command with the jitter-average
keyword for the threshold type average command:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# ipsla
RP/0/0/CPU0:router(config-ipsla)# reaction operation 432
RP/0/0/CPU0:router(config-ipsla-react)# react jitter-average
RP/0/0/CPU0:router(config-ipsla-react-cond)# threshold type average 8
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 269
IP Service Level Agreement Commands
threshold type average