3com 8807 Guia De Referência
NQA Configuration Commands
1081
Example
# Set that the system assumes the connection mode as direct connection when
sending the ICMP packet.
sending the ICMP packet.
<SW8800>system-view
System View: return to User View with Ctrl+Z.
[SW8800] nqa-agent enable
[SW8800] nqa administrator icmp
[3Com-administrator-icmp] sendpacket passroute
send-trap
Syntax
send-trap { all | { probefailure | testcomplete | testfailure } * }
undo send-trap { all | { probefailure | testcomplete | testfailure } * }
View
NQA test group view
Parameter
probefailure: Sends the Trap information to the network management system
when the probe fails and the corresponding filter condition is satisfied.
when the probe fails and the corresponding filter condition is satisfied.
testcomplete: Sends the Trap information to the network management system
when the test is finished.
when the test is finished.
testfailure: Sends the Trap information to the network management system
when the test fails and the corresponding filter condition is satisfied.
when the test fails and the corresponding filter condition is satisfied.
all: Sends the Trap information to the network management system when any of
the above conditions happens.
the above conditions happens.
Description
Use the send-trap command to configure the conditions of sending Trap
information to the network management system.
information to the network management system.
Use the undo send-trap command to cancel the configured the conditions of
sending Trap information.
sending Trap information.
By default, no Trap information is sent to the network management system.
The Trap information includes alert message or prompt message. The purpose of
sending the trap information is to remind the administrator to manage the system.
sending the trap information is to remind the administrator to manage the system.
Related command for filter conditions: probe-failtimes and test-failtimes.
Example
# Configure the condition of sending Trap information as testcomplete.
<SW8800>system-view
System View: return to User View with Ctrl+Z.
[SW8800] nqa-agent enable
[SW8800] nqa administrator icmp
[3Com-administrator-icmp] send-trap testcomplete