C. Router CLI Commands, Codes, and Designations
9128-A2-GB20-80
September 2002
C-23
Diagnostic Commands
Diagnostic commands allow you to ping or trace the route to a specified
destination.
Table C-12. Diagnostic Commands (1 of 2)
ping
[
protocol
]
dest-ip
[
source
source-ip
] [
length
bytes
]
[
timeout
time
] [
interface
intf-type
intf-num
[.
sub-intf-num
] ]
Minimum Access Level: Operator
Command Mode: Standard
Pings the specified destination address.
For a successful ping, the results are shown as:
Ping reply [
x.x.x.x]: bytes of data = packet-length
Where
packet-length is the length of echo packets sent.
For a timeout, the results are shown as:
Ping reply [
x.x.x.x]: REQUEST TIMED OUT
For an ICMP echo response of unreachable destination, the results are shown as:
Ping reply [
x.x.x.x]: DESTINATION UNREACHABLE
protocol – The protocol of the IP echo message: ip.
dest-ip – Address of the device to ping.
source – Specify the source IP address.
source-ip – The source IP address used in the ping request. The default source IP
address is the IP address for the interface on which packets are routed to the
destination IP address. The source IP address specified must be an IP address
assigned to an interface or sub-interface.
length
–
Specify the length of echo packets sent.
bytes – Number of data bytes. Range = 0–1500. Default = 64.
timeout – Specify the time in seconds before the ping test is abandoned.
time – Number in seconds before the ping test is abandoned. Maximum is 30 seconds.
Default = 5 seconds.
interface – Specify the target interface. The default target interface is the interface on
which packets are routed to the destination IP address.
intf-type – Two interface types are supported:
Ethernet – IEEE 802.3 interface
Serial – Frame relay serial interface
intf-num – The interface index number for the Ethernet and the Serial interfaces: 0.
sub-intf-num – The sub-interface number. Sub-interfaces are only supported on the
Network interface (Serial 0). Sub-interface number range is 0–4,294,967,295.
Summary of Contents for 9126
Page 150: ...4 Configuration Options 4 106 September 2002 9128 A2 GB20 80 ...
Page 182: ...6 Security and Logins 6 16 September 2002 9128 A2 GB20 80 ...
Page 264: ...7 Operation and Maintenance 7 82 September 2002 9128 A2 GB20 80 ...
Page 348: ...A Menu Hierarchy A 4 September 2002 9128 A2 GB20 80 ...
Page 440: ...E Connectors Cables and Pin Assignments E 18 September 2002 9128 A2 GB20 80 ...