R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101

82
Use undo source interface to restore the default.
By default, no source interface is configured for ICMP echo request packets.
If you configure both the source interface command and the source ip command, the source ip command
takes effect.
Related commands: source ip.
Examples
# Specify the IP address of interface GigabitEthernet 0/1 as the source IP address of ICMP echo request
packets.
<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 test type view
Default level
2: System level
Parameters
ip-address: Source IP address of a test operation.
Description
Use source ip to configure the source IP address of probe packets. The specified source IP address must
be the IP address of a local interface. The local interface must be up; otherwise, no probe packets can
be sent out.
Use undo source ip to remove the configured source address. The IP address of the interface that sends
a probe packet serves as the source IP address of the probe packet.
By default, no source IP address is configured for probe packets.
If you configure both the source interface command and the source ip command, the source ip command
takes effect.
Related commands: source interface.
Examples
# Configure the source IP address of the ICMP echo packets as 10.1.1.1.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] source ip 10.1.1.1