Creating a standard MAC ACL

A standard ACL permits or denies traffic according to source address only.

  1. Enter configure terminal to access global configuration mode.
    device# configure terminal
    
  2. Enter the mac access-list standard command to create the ACL.
    device(config)# mac access-list standard test_01
    device(conf-macl-std)# 
    
  3. For each ACL rule that you need to create, enter a permit or deny command, specifying the needed parameters.
    device(conf-macl-std)# seq 100 deny host 0011.2222.3333 count
    device(conf-macl-std)# seq 110 permit host 0022.1111.2222 ffff.ffff.00ff count
    device(conf-macl-std)# deny host 0022.3333.4444 count
    device(conf-macl-std)# permit host 0022.5555.3333 count
    
  4. Apply the ACL that you created to the appropriate interface.