Configuring trap delivery, Configuration prerequisites – H3C Technologies H3C WX6000 Series Access Controllers User Manual
Page 595
63-16
Configuring Trap Delivery
Traps can be sent to the network management server when test is completed, test fails or probe fails.
Configuration prerequisites
Before configuring trap delivery, you need to configure the destination address of the trap message with
the snmp-agent target-host command, create an NQA test group, and configure related parameters.
For the introduction to the snmp-agent target-host command, refer to SNMP in H3C WX6103 Access
Controller Switch Interface Board Command Reference
.
Configuring trap delivery
Follow these steps to configure trap delivery:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter NQA test group view
nqa entry admin-name
operation-tag
—
Enter test type view of the test
group
type
{ dhcp | dlsw | ftp | http |
icmp-echo
| snmp | tcp |
udp-echo
| udp-jitter }
—
Configure to send traps to network
management server under
specified conditions
reaction trap
{ probe-failure
consecutive-probe-failures
|
test-complete
| test-failure
cumulate-probe-failures
}
Optional
No traps are sent to the network
management server by default.
Configuring Optional Parameters Common to an NQA Test Group
Optional parameters common to an NQA test group are valid only for tests in this test group.
Unless otherwise specified, the following parameters are applicable to all test types and they can be
configured according to the actual conditions.
Follow these steps to configure optional parameters common to an NQA test group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter NQA test group view
nqa entry admin-name
operation-tag
—
Enter test type view of a test group
type
{ dhcp | dlsw | ftp | http |
icmp-echo
| snmp | tcp |
udp-echo
| udp-jitter }
—
Configure the descriptive string for
a test group
description string
Optional
By default, no descriptive string is
available for a test group.
Configure the interval between two
consecutive tests for a test group
frequency interval
Optional
By default, the interval between
two consecutive tests for a test
group is 0 milliseconds, that is, only
one test is performed.
If the last test is not completed
when the interval specified by the
frequency
command is reached, a
new test is not started.