Overview
5-6
Parameters
access-list
(<1-99>|<1300-1999>)
(deny|permit|mark
(8021p <0-7> |
tos <0-255>))
(A.B.C.D/M | host A.B.C.D |
any)(log)
(rule-precedence <1-5000>)
Adds a standard access list entry.
• (<1-99>|<1300-1999>) – Access numbers from 1 to 99 or 1300 to 1999.
• (deny|permit|mark) – Defines the action types on an ACL. The action
type
mark is functional only over a Port ACL.
• 8021p <0-7> – Used only with the action type
mark to specify
8021p priority values.
• tos <0-255> – Used only with thction type
mark to specify type of
service (tos) values.
• (A.B.C.D/M | host A.B.C.D | any) – Source is the source address of the
network or host in dotted decimal. Source-mask is the network mask.
For example, 10.1.1.10/24 indicates the first 24 bits of the source IP
are used for matching.
• The keyword any is an abbreviation for a source IP of 0.0.0.0 and
source-mask bits equal to 0.
• The keyword host is an abbreviation for exact source (A.B.C.D)
and source-mask bits equal to 32.
• log – Generates log messages when the packet coming from the
interface matches the ACL entry. Log messages are generated only for
router ACL’s.
• (rule-precedence <1-5000>) – Integer value between
1-5000. This value sets the rule precedence in the ACL.