H3C S3100 Series Command Manual page 1003

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Examples
# Configure the switch to send a trap after the probe in an ICMP test fails for three consecutive times.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] test-type icmp
[Sysname-hwping-administrator-icmp] probe-failtimes 3
send-trap
Syntax
send-trap { all | { probefailure | testcomplete | testfailure }* }
undo send-trap { all | { probefailure | testcomplete | testfailure }* }
View
HWPing test group view
Parameters
probefailure: Sends a trap when a probe fails.
testcomplete: Sends a trap after a test is finished.
testfailure: Sends a trap when a test fails.
all: Sends a trap when any of the above-mentioned scenarios occurs.
Description
Use the send-trap command to enable debugging for a trap.
Use the undo send-trap command to disable debugging for a trap.
By default, no trap is output.
Examples
# Send a trap message after an ICMP test is finished.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] test-type icmp
[Sysname-hwping-administrator-icmp] send-trap testcomplete
sendpacket passroute
Syntax
sendpacket passroute
undo sendpacket passroute
View
HWPing test group view
Parameters
None
Description
Use the sendpacket passroute command to enable routing table bypass.
Use the undo sendpacket passroute command to disable routing table bypass.
By default, routing table bypass is disabled.
1-24

Advertisement

Table of Contents
loading

Table of Contents