H3C S3100 Series Command Manual page 1005

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Examples
# Configure the source interface that sends test packets in DHCP tests as VLAN-interface 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator dhcp
[Sysname-hwping-administrator-dhcp] test-type dhcp
[Sysname-hwping-administrator-dhcp] source-interface Vlan-interface 1
source-ip
Syntax
source-ip ip-address
undo source-ip
View
HWPing test group view
Parameters
ip-address: Source IP address for a test.
Description
Use the source-ip command to configure the source IP address for the test.
Use the undo source-ip command to remove the configured source IP address.
By default, the IP address of the interface that sends test packets serves as the source IP address.
For FTP tests, this command is required. This command does not apply to DHCP tests. For other
tests, this command is optional.
The specified source IP address by this command cannot be of an interface on a remote device,
and the interface must be Up; otherwise the test will fail.
Examples
# Configure the source IP address as 169.254.10.2 for this ICMP test.
<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] source-ip 169.254.10.2
source-port
Syntax
source-port port-number
undo source-port
View
HWPing test group view
1-26

Advertisement

Table of Contents
loading

Table of Contents