H3C S3100 Series Command Manual page 1004

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

With routing table bypass, a remote host can bypass the normal routing tables and send ICMP packets
directly to a host on an attached network. If the host is not on a directly connected network, an error is
returned. You can use this function when pinging a local host on an interface that has no route defined.
Examples
# Bypass routing table when sending ICMP packets.
<Sysname> system-view
System View: return to User View with Ctrl+Z
[Sysname] hwping administrator icmp
[Sysname-hwping-administrator-icmp] sendpacket passroute
source-interface
Syntax
source-interface interface-type interface-number
undo source-interface
View
HWPing test group view
Parameters
interface-type interface-number: Interface type and interface number.
Description
For ICMP tests, use the source-interface command to specify a source interface for sending ICMP
requests. The corresponding IP address of the specified interface is used as the source IP address of
ICMP requests. For DHCP tests, use the source-interface command to specify an interface for DHCP
probes.
For ICMP tests, use the undo source-interface command to remove the specified source interface,
and its corresponding IP address is no longer used as the source IP address of ICMP requests. For
DHCP tests, use the undo source-interface command to remove the specified interface for DHCP
probes.
By default, no source interface is specified for ICMP tests and no interface is configured for DHCP
probes.
For DHCP tests, this command is required. For ICMP tests, this command is optional. This
command does not apply to other tests.
For ICMP tests, if a source IP address has been configured with the source-ip command, the
source-interface command cannot change the configured IP address.
For an ICMP test, if a source interface has been configured with the source-interface command,
the test destination address should be configured as the address of the device directly connected
to the interface. Otherwise, the test will fail.
The interface to be specified in this command can be only a VLAN interface.
The interface to be specified must be Up; otherwise the test will fail.
1-25

Advertisement

Table of Contents
loading

Table of Contents