source ip
Syntax
source ip ip-address
undo source ip
View
DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter, voice operation view
Default level
2: System level
Parameters
ip-address: Specifies the 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
source port
Syntax
source port port-number
undo source port
View
SNMP, UDP echo, UDP jitter, voice operation view
Default level
2: System level
Parameters
port-number: Specifies the source port number of probe packets, in the range of 1 to 50000.
157