Mac-access-list application syntax (VACL)

This command is used to apply a MAC ACL to a VLAN .


(Within interface context.)

mac-access-group ACL-ID in|out

Apply a MAC ACL to traffic on a VLAN. A standard or extended MAC ACL filters packets based on the source MAC address, destination MAC address, ethertype, CoS, or VLAN.


The MAC ACL name.


Apply MAC ACL on the inbound packets.


Similar command

ip access-group name in|out
See: example

Applying a MAC ACL to VLAN 1

(config)#vlan 1
(vlan-1)# mac-access-group name in