R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101
59
Default level
2: System level
Parameters
interface-type interface-number: Interface type and the interface number of the source interface of a
probe packet.
Description
Use the source interface command to specify the IP address of an interface as the source IP address of
ICMP echo probe requests.
Use the undo source interface command to remove the IP address of an interface as the source IP address
of ICMP echo probe requests.
By default, no interface address is specified as the source IP address of ICMP test request packets.
• If you use the source ip command to configure the source IP address of ICMP probe requests, the
source interface command is invalid.
• 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 GigabitEthernet 0/1 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 gigabitethernet 0/1
source ip
Syntax
source ip ip-address
undo source ip
View
DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter, voice 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.