Got it

The traffic-filter is not working

375 0 2 0

This post refers to the issue of traffic-filter not working. Please find out below the solution to this issue.

The customer tried to apply it on the scenario below: 

vlanif and port :[~SWITCH-A]display current-configuration interface Vlanif 109 interface Vlanif109
ip address XXX.XXX.XXX.XXX
traffic-filter acl 3000 inbound 
traffic-filter acl 3000 outbound 
[~SWITCH-A]display acl 3000
Advanced ACL 3000, 2 rules
ACL's step is 5
rule 5 deny udp destination YYY.YYY.YYY destination-port eq dns (0 times matched)
rule 10 deny icmp destination XXXX.XXXX.XXXX 0 (0 times matched)

The IP from interface vlanif109 and ACL 3000 is the same, noted with XXX...


If the match IP is the device host IP, the traffic-filter will not take effect because the packets arrived will be sent straight to the CPU.


This will not work because the IP that the customer is trying to deny by ACL is exactly the host IP and therefore the traffic-filter will not take effect.


It doesn’t really matter from where the customer is pinging, the important fact is that if the match IP is the source or dest IP of the ping - the traffic-filter will not take effect.


An alternative for what you need would be the auto-defend protocol.

  • x
  • convention:


You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."

My Followers

Login and enjoy all the member benefits


Huawei Enterprise Support Community
Huawei Enterprise Support Community
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Please bind your phone number to obtain invitation bonus.