ip unreachables

To enable the generation of Internet Control Message Protocol (ICMP) unreachable messages, use the ip unreachables command. To disable this function, use the no form of this command.

ip unreachables

no ip unreachables

Syntax Description

This command has no keywords or arguments.

Command Default

Enabled

Command Modes

Interface configuration mode
Subinterface configuration mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Examples

This example shows how to enable the generation of ICMP unreachable messages on an interface:

switch# config t
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# ip unreachables

Related Commands

Command
Description

ip port-unreachable

Sends ICMP port unreachable messages.