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

CloudEngine 12800 and 12800E V200R005C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DNS, IP performance optimization, IPv6, DHCPv6, and IPv6 DNS.
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

Optimizing ICMP properties can reduce ICMP packets on the network and reduce the burden on the device.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run icmp echo-reply fast disable

    The fast ICMP reply function is disabled.

    By default, the fast ICMP reply function is enabled on the device.

    NOTE:
    • Fast ICMP reply is unavailable to ICMP packets received on the management network port.
    • A CE12800E that has the FD-X series cards installed in large-arp mode does not support the fast ICMP reply function.

    • After the attack source tracing function for ICMP packets is enabled on the device, the fast ICMP reply function does not take effect.

    • If the fast ICMP reply function is enabled on a device, the traffic suppression function does not take effect for ICMP packets.
    • The device supports the fast ICMP reply function only for the following packets:
      • Common ICMP packets
      • ICMP packets that are encapsulated in VXLAN packets and received from cards excluding the CE-L48XS-FDA, CE-L48XS-FD, CE-L48XS-FD1, CE-L48XS-FG, CE-L24LQ-FD, CE-L36LQ-FD, CE-L16CQ-FD, CE-L12CQ-FD, CE-L36CQ-FG, CE-L36CQ-FD1, CE-L36CQ-SD, CE-L08CF-FG1 and CE-L36CQ-FD when the enhanced mode of the NVO3 gateway is loopback

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

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

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

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

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

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

  5. Run icmp broadcast-address echo disable

    The function of receiving ICMP Echo broadcast messages is disabled.

    By default, the function of receiving ICMP Echo broadcast messages is enabled.

  6. Run icmp name unreachable receive disable

    The function of discarding ICMP packets with unreachable destination addresses is enabled.

    By default, the function of discarding ICMP packets with unreachable destination addresses is disabled.

  7. Run icmp { name { echo | echo-reply | fragmentneed-dfset | net-unreachable | parameter-problem | port-unreachable | reassembly-timeout | source-route-failed | timestamp-reply | timestamp-request | ttl-exceeded } | type type code code } send disable

    The function of sending ICMP packets is disabled in the system view.

    By default, the function of sending ICMP packets is enabled in the system view.

  8. Run icmp { name { echo | echo-reply | fragmentneed-dfset | host-redirect | host-tos-redirect | host-unreachable | information-reply | information-request | net-redirect | net-tos-redirect | net-unreachable | parameter-problem | port-unreachable | protocol-unreachable | reassembly-timeout | source-quench | source-route-failed | timestamp-reply | timestamp-request | ttl-exceeded } | type type code code } receive disable

    The function of receiving ICMP packets is disabled in the system view.

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

  9. Run interface interface-type interface-number

    The interface view is displayed.

  10. 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.

    The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

    NOTE:

    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  11. Run icmp { name { echo | echo-reply | fragmentneed-dfset | net-unreachable | parameter-problem | port-unreachable | reassembly-timeout | source-route-failed | timestamp-reply | timestamp-request | ttl-exceeded } | type type code code } send disable

    The function of sending ICMP packets is disabled in the interface view.

    By default, the enabling status of the function that the interface sends ICMP packets is the same as that of the function that the system sends ICMP packets.

  12. Run icmp { name { echo | echo-reply | fragmentneed-dfset | net-unreachable | parameter-problem | port-unreachable | reassembly-timeout | source-route-failed | timestamp-reply | timestamp-request | ttl-exceeded } | type type code code } send enable

    The function of sending ICMP packets is enabled in the interface view.

    By default, the enabling status of the function that the interface sends ICMP packets is the same as that of the function that the system sends ICMP packets.

  13. Run icmp { name { echo | echo-reply | fragmentneed-dfset | host-redirect | host-tos-redirect | host-unreachable | information-reply | information-request | net-redirect | net-tos-redirect | net-unreachable | parameter-problem | port-unreachable | protocol-unreachable | reassembly-timeout | source-quench | source-route-failed | timestamp-reply | timestamp-request | ttl-exceeded | redirect } | type type code code } receive disable

    The function of receiving ICMP packets is disabled in the interface view.

    By default, the enabling status of the function that the interface receives ICMP packets is the same as that of the function that the system receives ICMP packets.

  14. Run icmp { name { echo | echo-reply | fragmentneed-dfset | host-redirect | host-tos-redirect | host-unreachable | information-reply | information-request | net-redirect | net-tos-redirect | net-unreachable | parameter-problem | port-unreachable | protocol-unreachable | reassembly-timeout | source-quench | source-route-failed | timestamp-reply | timestamp-request | ttl-exceeded | redirect } | type type code code } receive enable

    The function of receiving ICMP packets is enabled in the interface view.

    By default, the enabling status of the function that the interface receives ICMP packets is the same as that of the function that the system receives ICMP packets.

  15. Run icmp name redirect receive disable

    The function of receiving ICMP redirect packets is disabled in the interface view.

    By default, the enabling status of the function that the interface receives ICMP redirect packets is the same as that of the function that the system receives ICMP redirect packets. That is, an interface can receive ICMP redirect packets.

  16. Run icmp name redirect receive enable

    The function of receiving ICMP redirect packets is enabled in the interface view.

    By default, the enabling status of the function that the interface receives ICMP redirect packets is the same as that of the function that the system receives ICMP redirect packets. That is, an interface can receive ICMP redirect packets.

  17. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-04-18

Document ID: EDOC1100039535

Views: 43448

Downloads: 25

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