Huawei Access-Lists (ACL)

huawei-advanced-acl-example

Huawei Access-Lists

In this configuration example, we will learn the Access List (ACL) Configuration on Huawei Routers. Configuring Access Lists has some basic steps and we will cover all these steps in this article.

First of all, let’s remember the Access List types. There are three types Access Lists (ACLs) :

• Basic ACL
• Advanced ACL
• Layer 2 ACL

You can check each ACL type and their number ranges below. You can also find the parameters of each ACL type.


huawei-acl-types

In this lesson, we will show Basic Access Lists (Basic ACLs) and Advanced Access Lists (Advanced ACLs) with specific examples.

Let’s firstly start with Basic Access List Configuration.

Basic Access List Configuration on Huawei Routers

In the first example, we will focus on Basic Access List Configuration. With this Basic Access List Configuration, we will prevent the users on the subnet 10.1.1.0/24 and 10.2.2.0/24 to access the router. And we will allow the users, in the subnet 172.16.0.0/16 to access the router.


huawei-basic-acl-example

 system-view
[Huawei-Router] acl 2222
[Huawei-Router-acl-basic-2222] rule deny source 10.1.1.0  0.0.0.255 
[Huawei-Router-acl-basic-2222] rule deny source 10.2.2.0  0.0.0.255
[Huawei-Router-acl-basic-2222] rule permit source 172.16.0.0  0.0.255.255
[Huawei-Router-acl-basic-2222] quit


huawei-diplay-acl

Lesson tags: ACL, HCNA, Huawei
Back to: HCNA > Access-Lists (ACLs)

Leave a Reply

Your email address will not be published. Required fields are marked *




HCNA