cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
212
Views
0
Helpful
4
Replies

Standard Named ACL Sequencing

cer43tcent
Level 1
Level 1

Below is the current ACL

    10 permit 192.168.56.49 log
    20 permit 192.168.56.50 log
    30 permit 192.168.56.51 log
    40 permit 172.16.30.47 log
    50 deny   any log


If I try to change the numbering of the ACL so 172.16.30.47 is second in the list it looks like

    20 permit 192.168.56.49 log
    30 permit 192.168.56.50 log
    40 permit 192.168.56.51 log
    10 permit 172.16.30.47 log
    50 deny   any log

 

So given the order of the ACL from show access-list is the ACL being processed in sequential order by sequence number or top/down order?

4 Replies 4

Rajeev Sharma
Cisco Employee
Cisco Employee

Hey,

It will use the sequence number.

Regards,

RS.

glen.grant
VIP Alumni
VIP Alumni

  It should be by sequence number .  If you want the 172 as second try using sequence number 11  for that entry .

My example was bad, it would have made 172 the first entry.  I've tried doing as you mentioned, but the show access-list output order will look like this

 

10 permit 192.168.56.49 log
30 permit 192.168.56.50 log
40 permit 192.168.56.51 log
11 permit 172.16.30.47 log
50 deny any log

Hey,

As i mentioned in last post, its always the sequence number.

10 permit 192.168.56.49 log - 1
30 permit 192.168.56.50 log - 3
40 permit 192.168.56.51 log - 4
11 permit 172.16.30.47 log - 2

HTH.

Regards,

RS.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: