ip icmp

Use this command to re-enable the Internet Control Message Protocol (ICMP), allowing a router to reply to IP ping requests.

Syntax

ip icmp {echo-reply | mask-reply | unreachable}
no ip icmp {echo-reply | mask-reply | unreachable}

Parameters

echo-reply Enables ICMP in echo-reply mode.
mask-reply Enables ICMP in mask-reply mode.
unreachable Enables ICMP in unreachable mode.

Defaults

None.

Mode

Interface configuration.

Usage

By default, ICMP messaging is enabled on a routing interface for both echo-reply and mask-reply modes. If, for security reasons, ICMP has been disabled using no ip icmp, this command will re-enable it on the routing interface.

The “no” form of this command disables ICMP.

Example

This example shows how to enable ICMP in echo-reply mode on VLAN 1:

System(rw-config)->interface vlan 1
System(rw-config-intf-vlan.0.1)->ip icmp echo-reply