Mac-access-list standard configuration context

This command is used to configure MAC ACL with a simplified configuration. A simplified configuration provides a way to easily configure MAC ACLs that only require matching on a source MAC address.

Syntax

[no] SEQ-NUM < permit | deny > < any | host > SRC-MAC | SRC-MAC-MASK log
    
permit

Packets matching the specified Ethernet header information.

deny

Packets matching the specified Ethernet header information.

any

Match the packets with any source MAC address.

host

Match the packets with the specified source MAC address.

SRC-MAC

Match the packets belonging to the specified source MAC address range.

SRC-MAC-MASK

The MAC address group mask.

log

Log a debug message when the MAC ACL rule is hit.

NOTE:

Similar Command


(config)#ip access-list standard 1

Configure standard MAC ACL

(config)# mac-access-list standard 200
(config-std-macl)# permit AABB.CCDD.EEFF 0000.0000.FFFF
(config-std-macl)# deny host AABB.CCDD.EEFF log

Syntax

[no] SEQ-NUM remark
      

Add a comment for the MAC ACL rule specified. The maximum comment length is 100 characters.