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
18-32