Cisco IOS XR System Monitoring Command Reference for the Cisco


Add to my manuals
550 Pages

advertisement

Cisco IOS XR System Monitoring Command Reference for the Cisco | Manualzz

IP Service Level Agreement Commands react

react

To specify an element to be monitored for a reaction, use the react command in the appropriate configuration mode. To remove the specified reaction type, use the no form of this command.

react {connection-loss| jitter-average [dest-to-source| source-to-dest]| packet-loss {dest-to-source|

source-to-dest}| rtt| timeout| verify-error}

no react {connection-loss| jitter-average [dest-to-source| source-to-dest]| packet-loss {dest-to-source|

source-to-dest}| rtt| timeout| verify-error}

Syntax Description connection-loss jitter-average

[dest-to-source |

source-to-dest]

Specifies that a reaction occurs if there is a connection-loss for the monitored operation.

Specifies that a reaction occurs if the average round-trip jitter value violates the upper threshold or lower threshold. The following options are listed for the jitter-average keyword:

dest-to-source—(Optional) Specifies the jitter average destination to source (DS).

source-to-dest—(Optional) Specifies the jitter average source to destination (SD).

packet-loss {dest-to-source

| source-to-dest}

Specifies the reaction on packet loss value violation. The following options are listed for the packet-loss keyword:

dest-to-source—(Optional) Specifies the packet loss destination to source

(DS) violation.

source-to-dest—(Optional) Specifies the packet loss source to destination

(SD) violation.

rtt timeout verify-error

Specifies that a reaction occurs if the round-trip value violates the upper threshold or lower threshold.

Specifies that a reaction occurs if there is a timeout for the monitored operation.

Specifies that a reaction occurs if there is an error verification violation.

Command Default If there is no default value, no reaction is configured.

Command Modes IP SLA reaction configuration

IP SLA MPLS LSP monitor reaction configuration

208

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

OL-26517-02

IP Service Level Agreement Commands react

Command History

Release

Release 3.3.0

Release 3.3.0

Release 3.5.0

Release 3.7.2

Release 5.2.3

Usage Guidelines For the connection-loss keyword, jitter-average keyword, and rtt keyword, the reaction does not occur when the value violates the upper or the lower threshold. The reaction condition is set when the upper threshold is passed, and it is cleared when values go below the lower threshold.

For the connection-loss keyword and verify-error keyword, thresholds do not apply to the monitored element.

For the jitter-average keyword, packet-loss keyword, and rtt keyword, if the upper threshold for react threshold type average 3 is configured as 5000 ms and the last three results of the operation are 6000, 6000, and 5000 ms, the average is 6000 + 6000 + 5000=17000/3 = 5667—therefore violating the 5000-ms upper threshold. The threshold type average must be configured when setting the type. These keywords are not available if connection-loss, timeout, or verify-error is specified as the monitored element, because upper and lower thresholds do not apply to these options.

In IP SLA MPLS LSP monitor reaction configuration mode, only the connection-loss and timeout keywords are available. If the react command is used in IP SLA MPLS LSP monitor reaction configuration mode, it configures all operations associated with the monitored provider edge (PE) routers. The configuration is inherited by all LSP operations that are created automatically by the PE discovery.

Task ID

Task ID monitor

Operations read, write

Examples

Modification

This command was introduced.

This command was introduced.

This command was added to IP SLA MPLS LSP monitor reaction configuration mode.

This command was introduced.

This command was introduced.

The following example shows how to use the react command with the connection-loss keyword:

RP/0/0RP0RSP0/CPU0:router:hostname# configure

RP/0/0RP0RSP0/CPU0:router:hostname(config)# ipsla

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla)# reaction operation 432

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react)# react connection-loss

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react-cond)#

The following example shows how to use the react command with the jitter-average keyword:

RP/0/0RP0RSP0/CPU0:router:hostname# configure

RP/0/0RP0RSP0/CPU0:router:hostname(config)# ipsla

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla)# reaction operation 432

OL-26517-02

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

209

IP Service Level Agreement Commands react

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react)# react jitter-average

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react-cond)#

The following example shows how to use the react command with the packet-loss keyword:

RP/0/0RP0RSP0/CPU0:router:hostname# configure

RP/0/0RP0RSP0/CPU0:router:hostname(config)# ipsla

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla)# reaction operation 432

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react)# react packet-loss dest-to-source

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react-cond)#

The following example shows how to use the react command with the rtt keyword:

RP/0/0RP0RSP0/CPU0:router:hostname# configure

RP/0/0RP0RSP0/CPU0:router:hostname(config)# ipsla

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla)# reaction operation 432

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react)# react rtt

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react-cond)#

The following example shows how to use the react command with the timeout keyword:

RP/0/0RP0RSP0/CPU0:router:hostname# configure

RP/0/0RP0RSP0/CPU0:router:hostname(config)# ipsla

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla)# reaction operation 432

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react)# react timeout

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react-cond)#

The following example shows how to use the react command with the verify-error keyword:

RP/0/0RP0RSP0/CPU0:router:hostname# configure

RP/0/0RP0RSP0/CPU0:router:hostname(config)# ipsla

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla)# reaction operation 432

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react)# react verify-error

RP/0/0RP0RSP0/CPU0:router:hostname(config-ipsla-react-cond)#

Related Commands

Command

action (IP SLA), on page 129

operation, on page 189

schedule operation, on page 236

threshold, on page 297

threshold type average, on page 299

threshold type consecutive, on page 301

threshold type immediate, on page 303

threshold type xofy, on page 305

Description

Specifies what action or combination of actions the operation performs when you configure the react command or when threshold events occur.

Configures an IP SLA operation.

Schedules an IP SLA operation.

Sets the lower-limit and upper-limit values.

Takes action on average values to violate a threshold.

Takes action after a number of consecutive violations.

Takes action immediately upon a threshold violation.

Takes action upon X violations in Y probe operations.

210

Cisco IOS XR System Monitoring Command Reference for the Cisco CRS Router, Release 4.2.x

OL-26517-02

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents