R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)

203
Parameters
interface-type interface-number: Specifies an interface by its type and number.
Usage guidelines
If you configure both the source interface command and the source ip command, the source ip command
takes effect.
The ICMP echo request packets take the IP address of the source interface as their source IP address when
no source IP address is specified. The specified source interface must be up. Otherwise, no ICMP echo
requests can be sent out.
Examples
# Specify the primary IP address of interface Ethernet 1/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 ethernet 1/1
Related commands
source ip
source ip
Use source ip to configure the source IP address of probe packets.
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.
Syntax
source ip ip-address
undo source ip
Default
No source IP address is configured for probe packets.
Views
DLSw operation view, FTP operation view, HTTP operation view, ICMP echo operation view, SNMP
operation view, TCP operation view, UDP echo operation view, UDP jitter operation view, voice operation
view
Default command level
2: System level
Parameters
ip-address: Specifies the source IP address of probe packets.
Usage guidelines
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.
If you configure both the source interface command and the source ip command, the source ip command
takes effect.