Purpose
Command or Action
Verifies your entries.
show running-config
Example:
Switch#
show running-config
Step 6
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 7
Applying an IPv4 ACL to an Interface
This section describes how to apply IPv4 ACLs to network interfaces.
Beginning in privileged EXEC mode, follow these steps to control access to an interface:
SUMMARY STEPS
1.
configure terminal
2.
interface interface-id
3.
ip access-group
{
access-list-number
|
name
} {
in
|
out
}
4.
end
5.
show running-config
6.
copy running-config startup-config
DETAILED STEPS
Purpose
Command or Action
Enters the global configuration mode.
configure terminal
Example:
Switch#
configure terminal
Step 1
Identifies a specific interface for configuration, and enter
interface configuration mode.
interface interface-id
Example:
Switch(config)#
interface gigabitethernet1/0/1
Step 2
The interface can be a Layer 2 interface (port ACL), or
a Layer 3 interface (router ACL).
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29048-01
167
Configuring IPv4 ACLs
Applying an IPv4 ACL to an Interface