Command Line Interface
4-128
4
Related Commands
show ip access-list (4-127)
show ip access-group
This command shows the ports assigned to IP ACLs.
Command Mode
Privileged Exec
Example
Related Commands
ip access-group (4-127)
MAC ACLs
The commands in this section configure ACLs based on hardware addresses,
packet format, and Ethernet type. To configure MAC ACLs, first create an access list
containing the required permit or deny rules, and then bind the access list to one or
more ports
access-list mac
This command adds a MAC access list and enters MAC ACL configuration mode.
Use the no form to remove the specified ACL.
Syntax
[no] access-list mac acl_name
acl_name – Name of the ACL. (Maximum length: 16 characters)
Default Setting
None
Console#show ip access-group
Interface ethernet 1/25
IP standard access-list david
Console#
Table 4-2 MAC ACL Commands
Command Function Mode Page
access-list mac Creates a MAC ACL and enters configuration mode GC 4-128
permit, deny Filters packets matching a specified source and
destination address, packet format, and Ethernet type
MAC-ACL 4-129
show mac access-list Displays the rules for configured MAC ACLs PE 4-131
mac access-group Adds a port to a MAC ACL IC 4-131
show mac access-group Shows port assignments for MAC ACLs PE 4-132