Specifications
2-128
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
permit (access-list configuration)
permit (access-list configuration)
Use the permit access-list configuration command to configure conditions for a named or numbered IP
access control list (ACL). Use the no form of this command to remove a permit condition from the IP
ACL.
Use these commands with standard IP ACLs:
permit {source source-wildcard | host source | any}
no permit {source source-wildcard | host source | any}
Use these commands with extended IP ACLs:
permit protocol {source source-wildcard | host source | any} [operator port] {destination
destination-wildcard | host source | any} [operator port] [dscp dscp-value] [time-range
time-range-name]
no permit protocol {source source-wildcard | host source | any} [operator port] {destination
destination-wildcard | host source | any} [operator port] [dscp dscp-value] [time-range
time-range-name]
This command is available on physical interfaces only if your switch is running the enhanced software
image (EI).
Syntax Description protocol Name of an IP protocol.
protocol can be ip, tcp, or udp.
source source-wildcard |
host source | any
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:
• 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.