
Creating a Layer 2 access list
About this task
Create a Layer 2 access list by performing this procedure.
Procedure
Create an access list by using the following command from Global Configuration
mode.
qos l2-acl name <name> [src-mac <source_mac_address>] [src-mac-
mask <source_mac_address_mask>] [dst-mac
<destination_mac_address>] [dst-mac-mask
<destination_mac_address_mask>] [vlan-min <vid_min> vlan-max
<vid_max>] [vlan-tag <vtag>] [ethertype <etype>] [priority
<ieee1p_seq>] [drop-action {drop | pass}] [update-dscp <0 -
63>] [update-1p <0 - 7>] [set-drop-prec {high-drop | low-drop}]
[block <block_name>]
Note: Possible values for vlan-max are based on the binary value of vlan-min, and are
obtained by replacing consecutive trailing zeros in this binary value with ones, starting
at the right-most position. For example, if vlan-min = 200, then there are 4 possible
values for vlan-max: 11001000 (200) 11001001 (201) 11001011 (203) 11001111 (207)
The value of vlan-max is vlan-min + 2
n
- 1, where n is the number of consecutive trailing
zeros replaced.
Variable Definitions
Variable
Value
name <name>
Specifies the name assigned to this access list.
src-mac
<source_mac_address>
Specifies the source MAC address to use for this access list.
src-mac-mask
<source_mac_address_
mask>
Specifies the source MAC address mask to use for this access
list.
[dst-mac
<destination_mac_addre
ss>]
Specifies the destination MAC address to use for this access
list.
dst-mac-mask
<destination_mac_addre
ss_mask>
Specifies the destination MAC address mask to use for this
access list.
vlan-min <vid_min> vlan-
max <vid_max>
Specifies the minimum and maximum VLANs to use with this
access list. Both values must be specified.
ACLI Reference for wired networks
308 Avaya WLAN 8100 CLI Reference
August 2013