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

Cisco ios release 15.0(2)ex
Hide thumbs Also See for Catalyst 2960-X:
Table of Contents

Advertisement

Configuring IPv4 ACLs
Command or Action
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
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface-id
Example:
Switch(config)# interface gigabitethernet1/0/1
OL-29048-01
Purpose
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Purpose
Enters the global configuration mode.
Identifies a specific interface for configuration, and enter
interface configuration mode.
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
Applying an IPv4 ACL to an Interface
167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents