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

AR Router Troubleshooting Guide

This Product Documentation provides guidance for maintaining AR Enterprise Router, covering common information collection and fault diagnostic commands, typical fault troubleshooting guide, and troubleshooting.
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).
Disabling the ICMP Reply Function on an AR

Disabling the ICMP Reply Function on an AR

Procedure

You cannot disable the ICMP reply function on an AR. By default, an AR responds to a received ICMP Echo Request packet. To disable the ICMP reply function on an AR, configure a traffic policy to discard ICMP reply packets, as shown in Figure 29-24.

Figure 29-24  Networking for configuring a traffic policy to discard ICMP reply packets

# Create a traffic classifier to match the ICMP packets with the destination IP address 10.1.1.2.
<Huawei> system-view
[Huawei] acl number 3001
[Huawei-acl-adv-3001] rule 5 deny icmp destination 10.1.1.2 0
[Huawei-acl-adv-3001] quit
[Huawei] traffic classifier test operator or
[Huawei-classifier-test] if-match acl 3001
[Huawei-classifier-test] quit
# Create a traffic behavior to discard the ICMP packets with the destination IP address 10.1.1.2.
[Huawei] traffic behavior test
[Huawei-behavior-test] deny
[Huawei-behavior-test] quit
# Create a traffic policy and bind the traffic classifier to the traffic behavior in the policy.
[Huawei] traffic policy test
[Huawei-trafficpolicy-test] classifier test behavior test
[Huawei-trafficpolicy-test] quit
# Configure the IP address of an interface and apply the traffic policy to the inbound direction of the interface.
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] ip address 10.1.1.2 255.255.255.0
[Huawei-GigabitEthernet0/0/1] traffic-policy test inbound
[Huawei-GigabitEthernet0/0/1] quit

More Information

Before a traffic policy is configured, the host PC can ping the IP address 10.1.1.2 successfully and receives a response packet. After a traffic policy is configured, the ping operation fails. A message is displayed, indicating that the request times out and no response packet is received. Therefore, you can configure a traffic policy to disable the ICMP reply function on an AR.

Translation
Download
Updated: 2019-05-10

Document ID: EDOC1000079719

Views: 455247

Downloads: 4320

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