![Cisco Nexus 3548 series Command Reference Manual Download Page 213](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162213.webp)
193
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
ip port-unreachable
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.
ip port-unreachable
no ip port-unreachable
Syntax Description
This command has no arguments or keywords.
Command Default
Enabled
Command Modes
Interface configuration mode
Subinterface configuration mode
Command History
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
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
ip unreachables
Sends ICMP unreachable messages.