2284
C
149: NQA C
HAPTER
source ip
Syntax
View
Parameter
Description
Related command:
Example
source port
Syntax
View
Parameter
Description
C
C
LIENT
ONFIGURATION
OMMANDS
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] source interface ethernet 1/0
source ip ip-address
undo source ip
DLSw/FTP/HTTP/ICMP-echo/SNMP/TCP/UDP-echo/UDP-jitter test type view
ip-address: Source IP address of a test operation.
Use the
source ip
requests in a test operation.
Use the
undo source ip
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. 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.
source interface.
# 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 port-number
undo source port
SNMP/UDP-echo/UDP-jitter test type view
port-number: Source port number for a test operation, in the range 1 to 50000.
Use the
source port
requests in a test operation.
Use the
undo source port
command to configure the source IP address of ICMP probe
command to remove the configured source address.
command to configure the source port of ICMP probe
command to remove the configured port number.