<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 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
tos
Syntax
tos value
undo tos
View
DLSw, FTP, HTTP, ICMP-echo, SNMP, TCP, UDP-echo, UDP-jitter test type view
Default Level
2: System level
Parameters
value: Value of the ToS field in the IP header in an NQA probe packet, in the range 0 to 255.
1-24