18-29
[Sysname-nqa-admin-test] type tcp
[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-failures
|
test-complete
|
test-failure
cumulate-probe-failures
}
undo reaction trap
{
probe-failure
|
test-complete
|
test-failure
}
View
Any NQA test type view
Default Level
2: System level
Parameters
probe-failure consecutive-probe-failures
: Specifies to send a trap indicating a probe failure to the
network management server after consecutive probe failures in an NQA test.
consecutive-probe-failures
is 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-failure
cumulate-probe-failures
: Specifies to send a trap indicating a probe failure 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-failures
is the total number of consecutive probe failures in a test, in the range 1 to 15.
Description
Use the
reaction trap
command to configure to send traps to network management server under
specified conditions.
Use the
undo reaction trap
command to restore the default.
By default, no traps are sent to the network management server.
Note that only the
reaction trap test-complete
command is supported in a voice test, namely, in a
voice test, traps are sent to the NMS only if the test succeeds.
Examples
# Configure to send a trap indicating a probe failure 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
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...