Cisco Catalyst 2960-X Security Configuration Manual page 190

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

Advertisement

Applying an IPv4 ACL to a Terminal Line
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
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
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
166
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.
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.
Configuring IPv4 ACLs
OL-29048-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents