Applying a MAC ACL to a VLAN interface

Use this procedure to apply a Layer 2 ACL to a VLAN interface.

  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
    
  2. Enter the vlan command, specifying the vlan-id.
    device(config)# vlan 50
    
  3. 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