ICMP


View the configuration settings for the Internet Control Message Protocol (ICMP). A TCP/IP-based protocol, ICMP verifies, through error and control messages, the validity of an IP address.

Access mode

exec

Syntax

show vSwitch-name vRouter-name ip icmp

Output Description

Heading Description Filter
Reply To Echos Sets the Sun Secure Application Switch to reply to ICMP echo requests. If set to true, the system responds to these requests (typically ping packets); if set to false the packet is dropped.

Valid values: true, false
replyToEchos enumeration
Send Time Exceededs Sets the Sun Secure Application Switch to send an ICMP TTL exceeded error message. If set to true, the system sends this message to the error log. When the time-to-live timer has expired in the IP header. If set to false, the packet is dropped.

Valid values: true, false
sendTimeExceeds enumeration
Send Parameter Problems Sets the Sun Secure Application Switch to send an ICMP Parameter Problem error message. If set to true, the system forwards the packet and responds to the source with this message if the IP header contains options that are not supported. If set to false, the system forwards the packet but does not alert the source.

Valid values: true, false
sendParamProbs enumeration
Reply To Mask Requests Sets the Sun Secure Application Switch to reply to subnet mask lookup requests. If set to true, when the system receives a lookup request, it compares the source address to the routing table, and if a subnet is returned, sends that information back in a reply. If set to false, the system ignores the request.

Valid values: true, false
replyToMasks enumeration
In Messages The total number of ICMP messages received. This total includes messages that had errors (and are therefore included in the In Errors count). icmpInMsgs counter32
In Errors The number of ICMP messages received that had ICMP-specific errors. icmpInErrors counter32
Out Messages The number of ICMP destination unreachable messages transmitted since last boot (type field 3). These are messages sent by a router when it cannot forward an ICMP packet. icmpOutMsgs counter32
Out Errors The number of ICMP time exceeded messages transmitted since last boot (type field 11). These messages, sent to the packet source, indicate that the router dropped the packet due to an exceeded hop count or timer. icmpOutErrors counter32

Related actions

You can do the following