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

Fit AP V200R010C00 Command Reference

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).
icmp receive

icmp receive

Function

The icmp receive command enables the device to receive ICMP messages.

The undo icmp receive command disables thedevice from receiving ICMP messages.

By default, the device receives ICMP messages.

Format

icmp { type icmp-type code icmp-code | name icmp-name | all } receive

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

Parameters

Parameter Description Value
type icmp-type ?Specifies the type number of an ICMP message. The value is an integer ranging from 0 to 255.
code icmp-code Specifies the code of an ICMP message. The value is an integer ranging from 0 to 255.
name icmp-name Specifies the name of an ICMP message.The value can be any of the following:
  • 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

The value is a string of case-insensitive characters, with spaces not supported.The string length ranges from 1 to 32.
all Specifies all ICMP packets. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The undo icmp receive command can be used to disable the device from receiving ICMP messages for the purpose of improving network performance or enhancing network security.
  • On secure networks, the device can normally receive ICMP messages.In the case of heavy traffic on the network, if hosts or ports are frequently unreachable, the device will receive a large number of ICMP packets, which causes heavier traffic burdens over the network and degrades the performance of the device.

  • On insecure networks, network attackers often make use of ICMP error messages to spy on the internal structure of the network.

Configuration Impact

After the undo icmp receive command is run, the device no longer process ICMP messages of a certain type, causing the host to fail to ping the device.

Precautions

If the network status is normal and the device is required to receive ICMP messages, you can run the icmp receive command.

Example

# Disable the device from receiving ICMP messages with the type number being 3 and the code number being 1.

<Huawei> system-view
[Huawei] undo icmp type 3 code 1 receive
Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 159401

Downloads: 134

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