ip icmp unreachable
Syntax
ip icmp unreachable
no ip icmp unreachable
Description
Enables the sending of ICMPv4 and ICMPv6 destination unreachable messages on the switch to a source host when a specific host is unreachable. The unreachable host address originates from the failed packed. Default setting.
The
no
form of this command disables the sending of ICMPv4 and ICMPv6 destination unreachable messages from the switch to a source host when a specific host is unreachable. This command does not prevent other hosts from sending an ICMP unreachable message.
Command context
config
Authority
Administrators or local user group members with execution rights for this command.
Examples
Enabling ICMPv4 and ICMPv6 destination unreachable messages to a source host:
switch(config)# ip icmp unreachable
Disabling ICMPv4 and ICMPv6 destination unreachable messages to a source host:
switch(config)# no ip icmp unreachable