Creating Named MAC Extended ACLs
Command or Action
Step 3
ip access-group {access-list-number | name} {in | out}
Example:
Switch(config-if)# ip access-group 2 in
Step 4
end
Example:
Switch(config-if)# end
Step 5
show running-config
Example:
Switch# show running-config
Step 6
copy running-config startup-config
Example:
Switch# copy running-config startup-config
Related Topics
IPv4 ACL Interface Considerations, on page 153
Restrictions for Configuring IPv4 Access Control Lists, on page 140
Creating Named MAC Extended ACLs
You can filter non-IPv4 traffic on a VLAN or on a Layer 2 interface by using MAC addresses and named
MAC extended ACLs. The procedure is similar to that of configuring other extended named ACLs.
Follow these steps to create a named MAC extended ACL:
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
168
Purpose
Controls access to the specified interface.
Returns to privileged EXEC mode.
Displays the access list configuration.
(Optional) Saves your entries in the configuration file.
Configuring IPv4 ACLs
OL-29048-01