For ICMP tests, use the undo source-interface command to remove the specified source interface,
and its corresponding IP address is no longer used as the source IP address of ICMP requests. For
DHCP tests, use the undo source-interface command to remove the specified interface for DHCP
probes.
By default, no source interface is specified for ICMP tests and no interface is configured for DHCP
probes.
For DHCP tests, this command is required. For ICMP tests, this command is optional. This
command does not apply to other tests.
For ICMP tests, if a source IP address has been configured with the source-ip command, the
source-interface command cannot change the configured IP address.
For an ICMP test, if a source interface has been configured with the source-interface command,
the test destination address should be configured as the address of the device directly connected
to the interface. Otherwise, the test will fail.
The interface to be specified in this command can be only a VLAN interface.
The interface to be specified must be Up; otherwise the test will fail.
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.
1-21
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers