Mac-access-list application syntax (VACL)

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

Syntax

(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.

ASCII-STR

The MAC ACL name.

in

Apply MAC ACL on the inbound packets.

NOTE:

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