Send-Trap; Source-Interface - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

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

source-interface

Syntax
source-interface interface-type interface-number
undo source-interface
View
HWPing test group view
Parameters
interface-type interface-number: Interface type and interface number.
Description
For ICMP tests, use the source-interface command to specify a source interface for sending ICMP
requests. The corresponding IP address of the specified interface is used as the source IP address of
ICMP requests. For DHCP tests, use the source-interface command to specify an interface for DHCP
probes.
1-20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents