IP I
NTERFACE

C

OMMANDS

4-284

show ip redirects

This command shows the default gateway configured for this device.
Default Setting
None
Command Mode
Privileged Exec
Example
Related Commands
ip default-gateway (4-282)

ping

This command sends ICMP echo request packets to another node on the
network.
Syntax
ping host [count count][size size]
host - IP address or IP alias of the host.
count - Number of packets to send. (Range: 1-16, default: 5)
size - Number of bytes in a packet. (Range: 32-512, default: 32)
The actual packet size will be eight bytes larger than the size specified
because the switch adds header information.
Default Setting
This command has no default for the host.
Command Mode
Normal Exec, Privileged Exec
Command Usage
•Use the ping command to see if another site on the network can be
reached.
Console#show ip redirects
ip default gateway 10.1.0.254
Console#