Purpose
Command or Action
Controls access to the specified interface.
ip access-group
{
access-list-number
|
name
} {
in
|
out
}
Example:
Switch(config-if)#
ip access-group 2 in
Step 3
Returns to privileged EXEC mode.
end
Example:
Switch(config-if)#
end
Step 4
Displays the access list configuration.
show running-config
Example:
Switch#
show running-config
Step 5
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 6
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
OL-29048-01
Configuring IPv4 ACLs
Creating Named MAC Extended ACLs