Chapter
Unicast Routing Commands
ip port-unreachable
To enable the generation of Internet Control Message Protocol (ICMP) port unreachable messages, use
the ip port-unreachable command. To disable this function, use the no form of this command.
Syntax Description
This command has no arguments or keywords.
Command Default
Enabled
Command Modes
Interface configuration mode
Subinterface configuration mode
Command History
Release
5.0(3)A1(1)
Usage Guidelines
This command does not require a license.
Examples
This example shows how to enable the generation of ICMP port unreachable messages, as appropriate,
on an interface:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# no switchport
switch(config-if)# ip port-unreachable
switch(config-if)#
Related Commands
Command
ip unreachables
OL-27852-01
ip port-unreachable
no ip port-unreachable
Modification
This command was introduced.
Description
Sends ICMP unreachable messages.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
ip port-unreachable
193