Has anybody seen this happen on a switch, in particular the C3750; Standard Access-list entries listed out-of-sequence during various show commands?
For example:
I create a Standard ACL.
access-list 3 remark **** Permit some IPs Log The Denys ****
access-list 3 permit 192.168.1.2
access-list 3 permit 192.168.1.3
access-list 3 permit 192.168.1.5
access-list 3 deny any log
Next, I do a "show running-configuration" and the ACL looks like this:
access-list 3 permit 192.168.1.5
access-list 3 permit 192.168.1.3
access-list 3 remark **** Permit some IPs Log The Denys ****
access-list 3 permit 192.168.1.2
access-list 3 deny any log
And finally, I do a "show access-list 3" and it looks like this:
Standard IP access list 3
30 permit 192.168.1.5
20 permit 192.168.1.3
10 permit 192.168.1.2
40 deny any log
The ACL entries are not listed the way that I entered them.
This "anomaly" doesn't seem to affect the functioning of the ACL it's just kind of strange.
Considering that remarks are supposed to make ACLs easier to read, putting the entries out of sequence during a "show run" kind of defeats that purpose.
Also, I tried this without remarks and the entries are still out-of-sequence during a show run.
Weird.
Thanks in advance.
For example:
I create a Standard ACL.
access-list 3 remark **** Permit some IPs Log The Denys ****
access-list 3 permit 192.168.1.2
access-list 3 permit 192.168.1.3
access-list 3 permit 192.168.1.5
access-list 3 deny any log
Next, I do a "show running-configuration" and the ACL looks like this:
access-list 3 permit 192.168.1.5
access-list 3 permit 192.168.1.3
access-list 3 remark **** Permit some IPs Log The Denys ****
access-list 3 permit 192.168.1.2
access-list 3 deny any log
And finally, I do a "show access-list 3" and it looks like this:
Standard IP access list 3
30 permit 192.168.1.5
20 permit 192.168.1.3
10 permit 192.168.1.2
40 deny any log
The ACL entries are not listed the way that I entered them.
This "anomaly" doesn't seem to affect the functioning of the ACL it's just kind of strange.
Considering that remarks are supposed to make ACLs easier to read, putting the entries out of sequence during a "show run" kind of defeats that purpose.
Also, I tried this without remarks and the entries are still out-of-sequence during a show run.
Weird.
Thanks in advance.