R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101
60
• 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.
• 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.
<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
source port
Syntax
source port port-number
undo source port
View
SNMP, UDP echo, UDP jitter, voice test type view
Default level
2: System level
Parameters
port-number: Source port number for a test operation, in the range 1 to 50000.
Description
Use the source port command to configure the source port of ICMP probe requests in a test operation.
Use the undo source port command to remove the configured port number.
By default, no source port number is specified.
Examples
# Configure the source port number of a probe request as 8000.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type udp-echo
[Sysname-nqa-admin-test-udp-echo] source port 8000
statistics hold-time
Syntax
statistics hold-time hold-time
undo statistics hold-time
View
DLSw, DNS, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter, voice test type view