Applying An Ipv4 Acl To A Terminal Line - 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

How to Configure ACLs
What to Do Next
Repeat the steps if you have multiple items that you want in effect at different times.

Applying an IPv4 ACL to a Terminal Line

You can use numbered ACLs to control access to one or more terminal lines. You cannot apply named ACLs
to lines. You must set identical restrictions on all the virtual terminal lines because a user can attempt to
connect to any of them.
Follow these steps to restrict incoming and outgoing connections between a virtual terminal line and the
addresses in an ACL:
SUMMARY STEPS
1. enable
2. configure terminal
3. line [console | vty] line-number
4. access-class access-list-number {in | out}
5. end
6. show running-config
7. copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Switch(config)# enable
Step 2
configure terminal
Example:
Switch# configure terminal
Step 3
line [console | vty] line-number
Example:
Switch(config)# line console 0
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1202
Purpose
Enables privileged EXEC mode. Enter your password if prompted.
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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents