Installation guide

Command Line Interface
4-176
4
If a port is already bound to an ACL and you bind it to a different ACL, the
switch will replace the old binding with the new one.
Example
Related Commands
show ip access-list (4-175)
show ip access-group
This command shows the ports assigned to IP ACLs.
Command Mode
Privileged Exec
Example
Related Commands
ip access-group (4-175)
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.
Console(config)#int eth 1/25
Console(config-if)#ip access-group david in
Console(config-if)#
Console#show ip access-group
Interface ethernet 1/25
IP access-list david in
Console#
Table 4-49 MAC ACL Commands
Command Function Mode Page
access-list mac Creates a MAC ACL and enters configuration mode GC 4-177
permit, deny Filters packets matching a specified source and
destination address, packet format, and Ethernet type
MAC-ACL 4-178
show mac access-list Displays the rules for configured MAC ACLs PE 4-179
mac access-group Adds a port to a MAC ACL IC 4-180
show mac access-group Shows port assignments for MAC ACLs PE 4-180