Use this procedure to apply a Layer 2 ACL to a VLAN interface.
-
Enter the configure terminal
command to access global configuration mode.
device# configure terminal
-
Enter the vlan command,
specifying the vlan-id.
-
Enter the mac access-group
command, specifying the ACL that you are applying to the interface and the
in/out direction.
device(config-Vlan-50)# mac access-group test_02 in