
174
[Sysname] nqa entry admin test
[Sysname-nqa-admin-test] type icmp-echo
[Sysname-nqa-admin-test-icmp-echo] route-option bypass-route
source interface
Syntax
source interface
interface-type interface-number
undo source interface
View
ICMP echo test type view
Default level
2: System level
Parameters
interface-type interface-number
: Specifies an interface by its type and number.
Description
Use the
source interface
command to configure the source interface for ICMP echo request packets. The
ICMP echo request packets take the IP address of the source interface as their source IP address. The
specified source interface must be up; otherwise, no ICMP echo requests can be sent out.
Use the
undo
source interface
command to restore the default.
By default, no source interface is configured for ICMP echo request packets.
If you configure both the
source interface
command and the
source ip
command, the
source ip
command
takes effect.
Related commands:
source ip
.
Examples
# Specify the IP address of interface VLAN-interface 2 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 vlan-interface 2
source ip
Syntax
source ip
ip-address
undo
source ip
View
DLSw, FTP, HTTP, ICMP echo, SNMP, TCP, UDP echo, UDP jitter, voice test type view
Default level
2: System level