07-21-2014 09:25 AM - edited 03-07-2019 08:08 PM
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?
07-21-2014 11:17 AM
Hey,
It will use the sequence number.
Regards,
RS.
07-21-2014 11:18 AM
It should be by sequence number . If you want the 172 as second try using sequence number 11 for that entry .
07-21-2014 11:22 AM
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
07-21-2014 11:27 AM
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.
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: