R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101
50
Examples
# Specify the IP address of interface Ten-GigabitEthernet 0/0.1 as the source IP address of ICMP echo
request packets.
<Sysname> system-view
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] source interface Ten-GigabitEthernet0/0.1
source ip
Syntax
source ip ip-address
undo source ip
View
DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter test type view
Default level
2: System level
Parameters
ip-address: Source IP address of a test operation.
Description
Use the source ip command 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 the undo source ip command 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