Protection from unauthorized access
6.6.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 se-
quence by assigning the sequence number. A small sequence number has
precedence over a higher one.
enable
configure
ip access-group 100 in 30
ip access-group 102 in 10
ip access-group 104 in 20
exit
show access-lists interface
2/1 in
ACL Type
-------- ------------------------------- ---------------
IP
100
IP
104
IP
102
26
6.6 Access Control Lists (ACL).
Switch to the Priviledged EXEC mode.
Switch to the Configuration mode.
Assign sequence number 30 to ACL 100.
Assign sequence number 10 to ACL 102.
Assign sequence number 20 to ACL 104.
Switch to the Priviledged EXEC mode.
Display the ACLs attached to interface 2.1 for re-
ceived data packets.
ACL ID
Sequence Number
30
20
10
Release 4.0 11/07
Basic - L3P