Send-Trap; Source-Interface - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – HWPing
H3C S3100 Series Ethernet Switches
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

1.1.20 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

1.1.21 source-interface

Syntax
source-interface interface-type interface-number
undo source-interface
1-23
Chapter 1 HWPing Commands

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents