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

Ios release 15.0 2 ex1
Hide thumbs Also See for Catalyst 2960-XR:
Table of Contents

Advertisement

Applying an IPv4 ACL to an Interface

DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
line [console | vty] line-number
Example:
Switch(config)# line console 0
Step 3
access-class access-list-number {in | out}
Example:
Switch(config-line)# access-class 10 in
Step 4
end
Example:
Switch(config-line)# 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
Applying an IPv4 ACL to an Interface
This section describes how to apply IPv4 ACLs to network interfaces.
Catalyst 2960-XR Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX1
130
Purpose
Enters the global configuration mode.
Identifies a specific line to configure, and enter in-line
configuration mode.
• console—Specifies the console terminal line. The console
port is DCE.
• vty—Specifies a virtual terminal for remote console access.
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.
Displays the access list configuration.
(Optional) Saves your entries in the configuration file.
Configuring IPv4 ACLs
OL-29434-01

Advertisement

Table of Contents
loading

Table of Contents