2282 CHAPTER 149: NQA CLIENT CONFIGURATION COMMANDS

 

[Sysname-nqa-admin-test-tcp] reaction 1 checked-element probe-fail

 

threshold-type consecutive 3 action-type trigger-only

 

 

reaction trap

 

Syntax

reaction trap { probe-failure consecutive-probe-failurestest-complete test-failure

 

cumulate-probe-failures }

 

undo reaction trap { probe-failure test-complete test-failure }

View

Any NQA test type view

Parameter

probe-failureconsecutive-probe-failures: Specifies to send a trap to the network

 

management server after consecutive-probe-failuresin an NQA test.

 

consecutive-probe-failuresis the number of consecutive probe failures in a test, in

 

the range 1 to 15.

 

test-complete: Specifies to send a trap to indicate that the test is completed.

 

test-failurecumulate-probe-failures: Specifies to send a trap to the network

 

management server if the total number of probe failures in an NQA test is larger

 

than or equal to cumulate-probe-failures. For one test, the trap is sent only when

 

the test is completed. cumulate-probe-failuresis the total number of consecutive

 

probe failures in a test, in the range 1 to 15.

Description

Use the reaction trap probe-failcommand to configure to send traps to

 

network management server under specified conditions.

 

Use the undo reaction trap probe-failcommand to restore the default.

 

By default, no traps are sent to the network management server.

Example

# Configure to send a trap after five consecutive probe failures in an ICMP-echo

 

test.

 

<Sysname> system-view

 

[Sysname] nqa entry admin test

 

[Sysname-nqa-admin-test] type icmp-echo

 

[Sysname-nqa-admin-test-icmp-echo] reaction trap probe-failure 5

route-option bypass-route

Syntax route-option bypass-route

undo route-option bypass-route

View DLSw/FTP/HTTP/ICMP-echo/SNMP/TCP/UDP-echo/UDP-jitter test type view

Parameter None

Page 2282
Image 2282
3Com MSR 30, MSR 50 Reaction trap, Route-option bypass-route, Undo reaction trap probe-failure test-complete test-failure