FAQ-How Do I Control Access Through Specific Source or Destination Addresses

Publication Date:  2015-05-06 Views:  128 Downloads:  0
Issue Description
How Do I Control Access Through Specific Source or Destination Addresses?
Solution

You can configure access control lists (ACLs) to match source or destination addresses. For example, under the following configuration, the host at 10.1.1.1 can only access hosts on the 10.1.1.18/26 network segment.

<Huawei> system-view
[Huawei] acl 3000
[Huawei-acl-adv-3000] rule permit ip source 10.1.1.1 0 destination 10.1.1.18 0.0.0.63
[Huawei-acl-adv-3000] rule deny ip source 10.1.1.1 0

For configurations of other traffic classifiers, behaviors (actions set to permit), and policies, see Traffic Policy Configuration in the AR Configuration Guide - QoS.

END