Got it

Two Questions About ACL

Created: Apr 10, 2020 07:43:23Latest reply: Apr 10, 2020 07:44:04 51 1 1 0
  Rewarded HiCoins: 0 (problem resolved)

Hello everyone,

Question 1: I want to delete the rule 5 deny source 192.168.20.0 0.0.0.255 and rule 10 deny source 192.168.30.0 0.0.0.255 commands from ACL 2001, but the undo rule 5 deny source 192.168.20.0 0.0.0.255 and undo rule 10 deny source 192.168.30.0 0.0.0.255 commands cannot be deleted. How can I do? 

11

Question 2: How to configure ACL policies in different VLANs to isolate VLANs 10, 20, and 30 from each other?

For details about the configuration file, see the attachment.

Please help me! Thank you!


Attachment: You need to log in to download or view. No account? Register
  • x
  • convention:

Featured Answers
Admin Created Apr 10, 2020 07:44:04 Helpful(0) Helpful(0)

Hi WDNJSQ
1. Check the configuration. It is found that ACL 2001 has been invoked. You need to delete the traffic-filter vlan 10 inbound acl 2001 command, and then run the undo rule 5 and undo rule 10 commands to delete the two commands to be deleted.
2. For Layer 3, ACLs are used. For example:
vlan 2:192.168.2.0/255.255.255.0
vlan 3:192.168.3.0/255.255.255.0
vlan 4:192.186.4.0/255.255.255.0
VLAN2, VLAN3, and VLAN4 cannot communicate with each other.
acl number 3002
rule deny ip source 192.168.2.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
rule deny ip source 192.168.2.0 0.0.0.255 destination 192.168.4.0 0.0.0.255
acl number 3003
rule deny ip source 192.168.3.0 0.0.0.255 destination 192.168.2.0 0.0.0.255
rule deny ip source 192.168.3.0 0.0.0.255 destination 192.168.4.0 0.0.0.255
acl number 3004
rule deny ip source 192.168.4.0 0.0.0.255 destination 192.168.2.0 0.0.0.255
rule deny ip source 192.168.4.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
Run the traffic-filter command to apply the ACL to the VLAN
traffic-filter vlan 2 inbound acl 3002
traffic-filter vlan 3 inbound acl 3003
traffic-filter vlan 4 inbound acl 3004
I hope it helps!
View more
  • x
  • convention:

All Answers
DDSN Admin Created Apr 10, 2020 07:44:04 Helpful(0) Helpful(0)

Hi WDNJSQ
1. Check the configuration. It is found that ACL 2001 has been invoked. You need to delete the traffic-filter vlan 10 inbound acl 2001 command, and then run the undo rule 5 and undo rule 10 commands to delete the two commands to be deleted.
2. For Layer 3, ACLs are used. For example:
vlan 2:192.168.2.0/255.255.255.0
vlan 3:192.168.3.0/255.255.255.0
vlan 4:192.186.4.0/255.255.255.0
VLAN2, VLAN3, and VLAN4 cannot communicate with each other.
acl number 3002
rule deny ip source 192.168.2.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
rule deny ip source 192.168.2.0 0.0.0.255 destination 192.168.4.0 0.0.0.255
acl number 3003
rule deny ip source 192.168.3.0 0.0.0.255 destination 192.168.2.0 0.0.0.255
rule deny ip source 192.168.3.0 0.0.0.255 destination 192.168.4.0 0.0.0.255
acl number 3004
rule deny ip source 192.168.4.0 0.0.0.255 destination 192.168.2.0 0.0.0.255
rule deny ip source 192.168.4.0 0.0.0.255 destination 192.168.3.0 0.0.0.255
Run the traffic-filter command to apply the ACL to the VLAN
traffic-filter vlan 2 inbound acl 3002
traffic-filter vlan 3 inbound acl 3003
traffic-filter vlan 4 inbound acl 3004
I hope it helps!
View more
  • x
  • convention:

Comment

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

Notice 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

My Followers

Login and enjoy all the member benefits

Login

Huawei Enterprise Support Community
Huawei Enterprise Support Community
Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.