Alcatel-Lucent 6600 Switch User Manual


 
Configuring IP Managing IP
OmniSwitch 6600 Family Network Configuration Guide April 2006 page 14-23
Using the Ping Command
The ping command is used to test whether an IP destination can be reached from the local switch. This
command sends an ICMP echo request to a destination and then waits for a reply. To ping a destination,
enter the ping command and enter either the destination’s IP address or host name. The switch will ping
the destination using the default frame count, packet size, interval, and timeout parameters (6 frames, 64
bytes, 1 second, and 5 seconds, respectively). For example:
-> ping 172.22.2.115
When you ping a device, the device IP address or host name are required. Optionally, you may also spec-
ify:
Count. Use the count keyword to set the number of frames to be transmitted.
Size. Use the size keyword to set the size, in bytes, of the data portion of the packet sent for this ping.
You can specify a size or a range of sizes up to 60000.
Interval. Use the interval keyword to set the frequency, in seconds, that the switch will poll the host.
Timeout. Use the timeout keyword to set the number of seconds the program will wait for a response
before timing out.
For example, to send a ping with a count of 2, a size of 32 bytes, an interval of 2 seconds, and a timeout of
10 seconds you would enter:
-> ping 172.22.2.115 count 2 size 32 interval 2 timeout 10
Note. If you change the default values they will only apply to the current ping. The next time you use the
ping command, the default values will be used unless you again enter different values.
Tracing an IP Route
The traceroute command is used to find the path taken by an IP packet from the local switch to a speci-
fied destination. This command displays the individual hops to the destination as well as some timing
information. When using this command, you must enter the name of the destination as part of the
command line (either the IP address or host name). Use the optional max-hop parameter to set a maxi-
mum hop count to the destination. If the trace reaches this maximum hop count without reaching the desti-
nation, the trace stops.
For example, to perform a tracerout to a device with an IP address of 172.22.2.115 with a maximum hop
count of 10 you would enter:
-> traceroute 172.22.2.115 max-hop 10
Displaying TCP Information
Use the show tcp statistics command to display TCP statistics. Use the show tcp ports command to
display TCP port information.