No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Service

S2720, S5700, and S6720 V200R013C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel, and IPv4 over IPv6 tunnel.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring ICMP Properties

Configuring ICMP Properties

Context

The Internet Control Message Protocol (ICMP) is a protocol of the TCP/IP protocol suite. It exchanges messages between hosts and routing devices. When receiving an ICMP packet, the device sends the packet to the CPU. When a device receives a large number of ICMP packets, the forwarding performance of the device degrades. Therefore, you need to set related ICMP properties to optimize IP performance.

Procedure

  • Set ICMP properties in the system view to optimize IP performance.
    1. Run system-view

      The system view is displayed.

    2. Set ICMP properties as required to optimize IP performance.

      • Run icmp-reply fast

        The fast ICMP reply function is enabled.

        By default, the fast ICMP reply function is enabled.

      • Run icmp ttl-exceeded drop { slot slot-id | all }

        The switch is configured to discard the ICMP packets whose TTL values are 1.

        By default, the function of discarding ICMP packets with TTL values of 1 is disabled.

      • Run icmp with-options drop { slot slot-id | all }

        The switch is configured to discard the ICMP packets that carry options.

        By default, the function of discarding ICMP packets that carry options is disabled.

      • Run icmp unreachable drop

        The function of discarding ICMP Destination Unreachable packets is enabled.

        By default, the function of discarding ICMP Destination Unreachable packets is disabled.

      • Run undo icmp { type icmp-type code icmp-code | name icmp-name | all } receive

        The function of receiving ICMP packets is disabled.

        By default, the function of receiving ICMP packets is enabled.

      • Run undo icmp host-unreachable send

        The function of sending ICMP Host Unreachable packets is disabled.

        By default, the function of sending ICMP Host Unreachable packets is enabled.

        NOTE:

        The icmp host-unreachable send command can be run in the system view or interface view.

        • After the function of sending ICMP Host Unreachable packets is disabled in the system view, all interfaces do not send ICMP Host Unreachable packets. Even if the function is enabled on an interface, the interface does not send ICMP Host Unreachable packets.
        • After the function of sending ICMP Host Unreachable packets is enabled in the system view, all interfaces send ICMP Host Unreachable packets because the function is enabled on all interfaces by default. You can run the undo icmp host-unreachable send command in the interface view to disable the function on a specified interface.

        If the function of sending ICMP Host Unreachable packets is disabled, the switch does not send ICMP Host Unreachable packets in any situations.

      • Run undo icmp port-unreachable send

        The function of sending ICMP Port Unreachable packets is disabled.

        By default, the function of sending ICMP Port Unreachable packets is enabled.

        NOTE:

        The icmp port-unreachable send command can be run in the system view or interface view.

        • After the function of sending ICMP Port Unreachable packets is disabled in the system view, all interfaces do not send ICMP Port Unreachable packets. Even if the function is enabled on an interface, the interface does not send ICMP Port Unreachable packets.
        • After the function of sending ICMP Port Unreachable packets is enabled in the system view, all interfaces send ICMP Port Unreachable packets because the function is enabled on all interfaces by default. You can run the undo icmp port-unreachable send command in the interface view to disable the function on a specified interface.

        If the function of sending ICMP Port Unreachable packets is disabled, the switch does not send ICMP Port Unreachable packets in any situations.

      • Run undo icmp protocol-unreachable send

        The function of sending ICMP Protocol Unreachable packets is disabled.

        By default, the function of sending ICMP Protocol Unreachable packets is enabled.

      • Run icmp blackhole unreachable send

        The switch is enabled to send an ICMP Destination Unreachable packet to an initiator when a tracert packet matches an IPv4 blackhole route.

        By default, the switch is disabled from sending an ICMP Destination Unreachable packet to an initiator when a tracert packet matches an IPv4 blackhole route.

      • Run icmp time-exceed { extension { compliant | non-compliant } | classic }

        The format of ICMP Time Exceeded packets is configured.

        By default, ICMP Time Exceeded packets carry extension headers in compliant mode and original datagrams are of variable length.

  • Set ICMP properties in the interface view to optimize IP performance.
    1. Run interface interface-type interface-number

      The interface view is displayed.

    2. (Optional) On an Ethernet interface, run undo portswitch

      The interface is switched to Layer 3 mode.

      By default, an Ethernet interface works in Layer 2 mode.
      NOTE:

      Only the S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

    3. Set ICMP properties in the interface view as required to optimize IP performance.

      • Run undo icmp redirect send

        The function of sending ICMP Redirect packets is disabled.

        By default, the function of sending ICMP Redirect packets is enabled.

        NOTE:

        If the function of sending ICMP Redirect packets is disabled, the switch does not send ICMP Redirect packets in any situations.

      • Run undo icmp ttl-exceeded send

        The function of sending ICMP Time Exceeded packet is disabled.

        By default, the function of sending ICMP Time Exceeded packet is enabled.

      • Run undo icmp port-unreachable send

        The function of sending ICMP Port Unreachable packets is disabled.

        By default, the function of sending ICMP Port Unreachable packets is enabled.

      • Run undo icmp host-unreachable send

        The function of sending ICMP Host Unreachable packets is disabled.

        By default, the function of sending ICMP Host Unreachable packets is enabled.

Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100065678

Views: 34523

Downloads: 253

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next