Mac-access-list creation syntax
This is a new command that needs to be created to allow for the configuration of MAC-based access control lists.
Syntax
mac-access-list standard
Configure a standard MAC Access Control List.
Standard MAC ACL Configuration
mac-access-list standard <200>
Description: Configure the standard MAC ACL to filter the packets based on the source MAC address. The standard MAC ACL number ranges from 200 to 299.
(config)#mac accss-list standard 200 (config-std-macl)#
Syntax
mac-access-list extended
Configure an extended MAC Access Control List.
Extended MAC ACL Configuration
mac-access-list extended <300>
Configure the extended MAC ACL to filter the packets based on the source MAC address, destination MAC address, ethertype, CoS priority, or VLAN number. The extended MAC ACL number ranges from 300 to 399.
(config)#mac accss-list extended 300 (config-ext-macl)#
Syntax
mac-access-list resequence
Renumber the sequence number of the rules in the MAC ACL specified.
Resequencing MAC ACL
mac-access-list resequence 200 1 10
Description: Re-number the sequence number of the rules in the MAC ACL specified. The first rule receives the sequence number specified in the start-seq-num and the subsequent rule numbers increment per the increment value.
(config)# mac-access-list resequence 300 1 10
Similar Command
ip access-list