ip icmp unreachable

Enables a Layer 3 device to respond to IPv4 ICMP unreachable messages.

Syntax

ip icmp unreachable
no icmp unreachable

Command Default

By default, the device does not respond to ICMP unreachable notifications.

Modes

Interface configuration mode

Usage Guidelines

Use the no form of the command to disable the feature.

Examples

The following example enables a device to respond to ICMP unreachable notifications to the indicated source.

device# configure terminal
device(config)# interface ve 2
device(config-int-ve-2)# ip address 2.1.1.1/24
device(config-int-ve-2)# ip icmp unreachable