3com S7906E Verweisanleitung
1-23
By default, no interface address is specified as the source IP address of ICMP test request packets.
Note that:
z
If you use the source ip command to configure the source IP address of ICMP probe requests, the
source interface command is invalid.
z
The interface specified by the source interface command must be up; otherwise, the probe fails.
Related commands: source ip.
Examples
# Specify the IP address of interface VLAN-interface 2 as the source IP address of ICMP-echo probe
requests.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] source interface vlan-interface 2
source ip
Syntax
source ip ip-address
undo source ip
View
DLSw, FTP, HTTP, ICMP-echo, SNMP, TCP, UDP-echo, UDP-jitter test type view
Default Level
2: System level
Parameters
ip-address: Source IP address of a test operation.
Description
Use the source ip command to configure the source IP address of ICMP probe requests in a test
operation.
Use the undo source ip command to remove the configured source address. That is, the IP address of
the interface sending a probe request serves as the source IP address of the probe request.
By default, no source IP address is specified.
Note that:
z
For an ICMP-echo test, if no source IP address is specified, but the source interface is specified,
the IP address of the source interface is taken as the source IP address of ICMP probe requests.
z
The source IP address specified by the source ip command must be the IP address of an interface
on the device, and the interface must be up; otherwise, the test fails.
Related commands: source interface.
Examples
# Configure the source IP address of an ICMP-echo probe request as 10.1.1.1.