Configuring IP

Managing IP

OmniSwitch 6600 Family Network Configuration Guide

April 2006

page 14-21

In addition to the 

icmp type

 command, several commonly used ICMP messages have been separate CLI 

commands for convenience. These commands are listed below with the ICMP message name, type, and 

code:

These commands are entered as the 

icmp type

 command, without specifying a type or code only. The 

echo, timestamp, and address mask commands have the options for distinguishing between a request or a 

reply, and the unreachable command has options distinguishing between a network, host, protocol, or port. 

For example, to enable an echo request message, enter the following:

-> icmp echo request enable

To enable a network unreachable message, enter the following:

-> icmp unreachable net-unreachable enable

See 

Chapter 1, “IP Commands,”

 for specifics on the ICMP message commands.

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

ICMP Message

Command 

Network unreachable (type 0, code 3)

icmp unreachable

Host unreachable (type 3, code 1)

icmp unreachable

Protocol unreachable (type 3, code 2)

icmp unreachable

Port unreachable (type 3, code 3)

icmp unreachable

Echo reply (type 0, code 0)

icmp echo

Echo request (type 8, code 0)

icmp echo

Timestamp request (type 13, code 0)

icmp timestamp

Timestamp reply (type 14, code 0)

icmp timestamp

Address Mask request (type 17, code 0)

icmp addr-mask

Address Mask reply (type 18, code 0)

icmp addr-mask

Page 299
Image 299
Open full-size image