Access-List (Ip Standard) - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

access-list (IP standard)

access-list (IP standard)
Use the standard version of the access-list global configuration command to configure a standard IP
access control list (ACL). Use the no form of this command to remove a standard IP ACL.
This command is available on physical interfaces only if your switch is running the enhanced software
image (EI).
Syntax Description
access-list-number
deny
permit
remark
source source-wildcard |
host source | any
Defaults
The default standard ACL is always terminated by an implicit deny statement for all packets.
Command Modes
Global configuration
Command History
Release
12.1(6)EA2
Usage Guidelines
Plan your access conditions carefully. The ACL is always terminated by an implicit deny statement for
all packets.
You can use ACLs to control virtual terminal line access by controlling the transmission of packets on
an interface.
Catalyst 2950 Desktop Switch Command Reference
2-6
access-list access-list-number {deny | permit | remark} {source source-wildcard | host source |
any}
no access-list access-list-number
Number of an ACL, from 1 to 99 or from 1300 to 1999.
Deny access if conditions are matched.
Permit access if conditions are matched.
ACL entry comment up to 100 characters.
Define a source IP address and wildcard.
The source is the source address of the network or host from which the
packet is being sent, specified in one of these ways:
Modification
This command was first introduced.
The 32-bit quantity in dotted-decimal format. The source-wildcard
applies wildcard bits to the source.
The keyword host, followed by the 32-bit quantity in dotted-decimal
format, as an abbreviation for source and source-wildcard of source
0.0.0.0.
The keyword any as an abbreviation for source and source-wildcard
of 0.0.0.0 255.255.255.255. You do not need to enter a
source-wildcard.
Chapter 2
Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents