Advanced Layer 2 ACL rules and features

Many advanced ACL features are implemented per ACL rule, according to parameters that you specify.

Note

Note

Some advanced features also require global configuration.
Table 1. Layer 2 ACL advanced keywords

Keyword

Description

L2 standard ACL

L2 extended ACL

Notes

copy-sflow

sFlow monitoring

P/D/H; I

P/D/H; I

count

Counter statistics

P/D/H; I/O

P/D/H; I/O

drop-precedence-force

Re-marking drop-precedence

NA

P; I

Supported only under, vxlan-visibility, or border-routing TCAM profiles.

log

Logging

P/D/H; I

P/D/H; I

mirror

Mirroring

NA

P/D/H; I

pcp

802.1p filtering

NA

P/D/H; I/O

pcp-force

802.1p re-marking

NA

P; I

vlan-tag-format

Filtering by untagged, single-tagged, or double-tagged VLAN type

NA

P/D/H; I/O

The vlan-tag-format keyword is supported on the SLX 9640/SLX 9540 devices in the Layer2-Ratelimit profile only. Also, when multi-tagged packets are sent (packets with more than 2 tags) the rule written for vlan-tag-format double-tagged is matched; these devices, Extreme 8820, SLX 9740, SLX 9640, and SLX 9540, assume the multi-tag packet to be double-tagged. The vlan-tag-format keyword is not supported on SLX 9250/SLX 9150 devices.
Key:
For details, refer to the following Extreme SLX-OS Command Reference topics:

Parsing priorities among keywords

There are parsing priorities among the copy-sflow, log, and mirror keywords, as follows:
  • Although in a standard-ACL rule you can include log and copy-sflow, only one of the two is processed, as follows:
    • In a permit rule, the order of precedence is copy-sflow > log.
    • In a deny or hard-drop rule, the order of precedence is log > copy-sflow.
  • Although in an extended-ACL rule you can include log, mirror, and copy-sflow, only one of the three is processed, as follows:
    • In a permit rule, the order of precedence is mirror > copy-sflow > log.
    • In a deny or hard-drop rule, the order of precedence is log > copy-sflow > mirror.
Consider the following extended Layer 2 ACL:
device(config)# mac access-list extended mac1
device(conf-macl-ext)# seq 10 permit host 0000.1324.3333 any count log mirror copy-sflow
device(conf-macl-ext)# seq 20 deny host 0000.1357.4444 any count log mirror copy-sflow
  • In the permit rule, only the mirror keyword is processed.
  • In the deny rule, only the log keyword is processed.