Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 1 System Maintenance and Management
Commands
3Com Corporation
1-9
Description
Use the ip option source-routing command to enable IP source routing, allowing the
router to handle the packets with the IP source-route option.
Use the undo ip option source-routing command to disable IP source routing.
By default, IP source routing is disabled to decrease the risk of attacks. You may enable
and use it in conjunction with the ping or tracert command executed on other devices
when troubleshooting network path faults or transmitting some special service.
Example
# Enable IP source routing.
[3com] ip option source-routing
# Disable IP source routing.
[3com] undo ip option source-routing
1.2.6 ping
Syntax
ping [ -a X.X.X.X | -c count | -d | -f | -h ttl_value | -i { interface-type interface-number } |
ip | -n | -p pattern | -q | -r | -s packetsize | -t timeout | tos | -v | vpn-instance
vpn-instance-name ] * host
View
Any view
Parameter
-a X.X.X.X: Sets the source IP address in the ICMP ECHO-REQUEST packets.
-c count: Number of ICMP ECHO-REQUEST transmissions, in the range 1 to
4294967295.
-d: Sets socket to debug mode.
-f: Discards the packets larger than the interface MTU without fragmentation.
-h ttl_value: Sets TTL value in the range 1 to 255.
-i: Sets the interface for sending ICMP ECHO-REQUEST packets. It sets the TTL in
packets to 1. Use this keyword when testing directly connected devices. The -i and
-vpn options cannot be specified in the same command.
interface-type: Interface type.
interface-number: Interface number.
-n: Directly uses the host parameter as IP address without domain name resolution.










