Applying An Ipv4 Acl To An Interface - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Command or Action
Step 4
access-class access-list-number {in | out}
Example:
Switch(config-line)# access-class 10 in
Step 5
end
Example:
Switch(config-line)# end
Step 6
show running-config
Example:
Switch# show running-config
Step 7
copy running-config startup-config
Example:
Switch# copy running-config startup-config

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
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Purpose
The line-number is the first line number in a contiguous group
that you want to configure when the line type is specified. The
range is from 0 to 16.
Restricts incoming and outgoing connections between a particular
virtual terminal line (into a device) and the addresses in an access
list.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
How to Configure ACLs
1203

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents