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
SEQ-NUM < permit | deny > < any | host > SRC-MAC | SRC-MAC-MASK log
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
switch(config)#ip access-list standard 1
Configure standard MAC ACL
switch(config)#mac-access-list standard 200 switch(config-std-macl)#permit AABB.CCDD.EEFF 0000.0000.FFFF switch(config-std-macl)#deny host AABB.CCDD.EEFF log
Syntax
SEQ-NUM remark
no SEQ-NUM remark
Add a comment for the MAC ACL rule specified. The maximum comment length is 100 characters.