Configuring IP Managing IP
OmniSwitch AOS Release 7 Network Configuration Guide June 2013 page 15-31
Enabling All ICMP Types
To enable all ICMP message types, use the icmp messages command with the enable keyword.
For example:
-> icmp messages enable
To disable all ICMP messages, enter the same command with the disable keyword. For example:
-> icmp messages enable
Setting the Minimum Packet Gap
The minimum packet gap is the time required between sending messages of a like type. For instance, if the
minimum packet gap for Address Mask request messages is 40 microseconds, and an Address Mask
message is sent, at least 40 microseconds must pass before another one could be sent.
To set the minimum packet gap, use the min-pkt-gap keyword with any of the ICMP control commands.
For example, to set the Source Quench minimum packet gap to 100 microseconds, enter the following:
-> icmp type 4 code 0 min-pkt-gap 100
Likewise, to set the Timestamp Reply minimum packet gap to 100 microseconds, enter the following:
-> icmp timestamp reply min-pkt-gap 100
ICMP Control Table
The ICMP Control Table displays the ICMP control messages, whether they are enabled or disabled, and
the minimum packet gap times. Use the show icmp control command to display the table.
ICMP Statistics Table
The ICMP Statistics Table displays the ICMP statistics and errors. This data can be used to monitor and
troubleshoot IP on the switch. Use the show icmp statistics command to display the table.
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 IP address of the destination or the host name. The switch
pings the destination by using the default frame count, packet size, interval, and time-out 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 is required. Optionally, you can also specify:
• 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 polls the host.
• Time-out. Use the time-out keyword to set the number of seconds the program waits for a response
before timing out.