100Table 6 Handling ICMP messagesDevice mode ICMP messages sent ICMP messages received RemarksCommon mode Common ICMP messages Common ICMP messagesExtension information inextended ICMP messages isnot processed.Compliant modeCommon ICMP messagesExtended ICMP messageswith a length fieldCommon ICMP messagesExtended ICMP messageswith a length fieldExtended ICMP messageswithout a length field arehandled as common ICMPmessages.Non-compliantmodeCommon ICMP messagesExtended ICMP messageswithout a length fieldAll three types of ICMPmessages N/AICMP/ICMPv6 messages that can carry extension information include only IPv4 redirect messages,IPv4/IPv6 time exceeded messages, and IPv4/IPv6 destination unreachable messages.Configuration procedureTo enable support for ICMP extensions:Step Command Remarks1. Enter system view. system-view N/A2. Enable support for ICMPextensions in compliant mode. ip icmp-extensions compliant Optional.Disabled by default.3. Enable support for ICMPextensions in non-compliantmode.ip icmp-extensions non-compliant Optional.Disabled by default.After support for ICMP extensions is disabled, no ICMP message sent by the device contains extensioninformation.Displaying and maintaining IP performanceoptimizationTask Command RemarksDisplay TCP connection statistics. display tcp statistics [ | { begin | exclude |include } regular-expression ] Available in any view.Display UDP statistics. display udp statistics [ | { begin | exclude |include } regular-expression ] Available in any view.Display statistics of IP packets. (Instandalone mode.)display ip statistics [ slot slot-number ] [ |{ begin | exclude | include }regular-expression ]Available in any view.