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

Web-based Configuration Guide

AR650, AR1600, and AR6100 V300R003

This document describes how to configure and maintain your routers using the web platform.
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).
Layer 2 ACL Setting

Layer 2 ACL Setting

Context

After layer 2 ACL rules are configured, routers classify packets based on link-layer information such as source MAC addresses, destination MAC addresses, and Layer 2 protocol type in the packets.

Procedure

  • Creating a layer 2 ACL rule
    1. Access the Layer 2 ACL Setting tab page.

      Log in to the web platform and choose Security > ACL > Layer 2 ACL Setting, as shown in Figure 14-9.
      Figure 14-9  Layer 2 ACL Setting

    2. Click Create in the Layer 2 ACL Setting List area. Enter an ACL rule name in the Create Layer 2 ACL Setting dialog box, as shown in Figure 14-10.

      Figure 14-10  Create Layer 2 ACL Setting

      NOTE:

      The value of ACL name is a string of 1 to 32 characters without spaces or question marks (?) and must start with a letter.

    3. Click OK.
    4. Click Add rules to add advanced ACL rules. You can add advanced ACL rules in either of the following ways:

      • In the ACL rule list
        1. Set parameters in the ACL rule list, as shown in Figure 14-11. Table 14-3 describes the parameters.

          Figure 14-11  ACL rule list

        2. Click . To delete a layer 2 ACL rule, click .
      • In the Add Rules dialog box
        1. Click Advanced and set parameters in the Add Rules dialog box, as shown in Figure 14-12. Table 14-3 describes the parameters.

          Figure 14-12  Add Layer 2 ACL Rules

        2. Click OK. To delete a layer 2 ACL rule, click .
      Table 14-3  Layer 2 ACL rule parameters

      Parameter

      Description

      Rule number

      ACL rule number.

      NOTE:

      If you do not specify a rule number, the system allocates a number for the rule. The rule number cannot be changed.

      Action

      Whether to permit or deny packets.

      Layer 2 Protocol

      Protocol type of Layer 2 ACL rules.

      The value can be a hexadecimal number or either of the following:
      • ARP
      • IP
      • MPLS
      • RARP

      802.1P

      An ACL rule that matches the 802.1p fields in outer VLAN tags of packets.

      Source MAC address

      Source MAC address of packets to be matched by the ACL rule.

      The value is in H-H-H format. H contains 1 to 4 hexadecimal digits.

      Source MAC address mask

      Source MAC address mask of packets to be matched by the ACL rule.

      The value is in H-H-H format. H contains 1 to 4 hexadecimal digits.

      Destination MAC address

      Destination MAC address of packets to be matched by the ACL rule.

      The value is in H-H-H format. H contains 1 to 4 hexadecimal digits.

      Destination MAC address mask

      Destination MAC address mask of packets to be matched by the ACL rule.

      The value is in H-H-H format. H contains 1 to 4 hexadecimal digits.

      Source VLAN

      An ACL rule that matches the outer VLAN IDs of packets.

      Source VLAN mask

      An ACL rule that matches the outer VLAN ID masks of packets.

      Time range

      Name of a time range during which ACL rules take effect.

      NOTE:

      The time range name is displayed on the Time Range tab page.

      If this parameter is not specified, ACL rules are always valid.

  • Deleting a layer 2 ACL rule
    1. Access the Layer 2 ACL Setting tab page.

      Log in to the web platform and choose Security > ACL > Layer 2 ACL Setting.

    2. Click next to a layer 2 ACL rule.
    3. In the dialog box that is displayed, click OK.
Download
Updated: 2019-04-12

Document ID: EDOC1100041803

Views: 38298

Downloads: 103

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