Assistance in the Protection from Un-
authorized Access
UM Basic Configuration L3P
Release
7.1
12/2011
6.8
Access Control Lists (ACL)
119
6.8.7 Specifying the Sequence of the Rules
The sequence of the ACLs determines their usage. The first list that applies
is used, and all subsequent rules are ignored. You can influence the
sequence by assigning the sequence number. A small sequence number has
precedence over a higher one.
enable Switch to the privileged EXEC mode.
configure Switch to the Configuration mode.
ip access-group 100 in 30
ip access-group 102 in 10
Assign sequence number 30 to ACL 100.
Assign sequence number 10 to ACL 102.
Assign sequence number 20 to ACL 104.
exit Switch to the privileged EXEC mode.
show access-lists interface
2/1 in
Display the ACLs attached to interface 2.1 for
received data packets.
ACL Type ACL ID Sequence Number
-------- ------------------------------- ---------------
IP 100 30
IP 104 20
IP 102 10