Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C3750 Switch ACL Entries Out Of Sequence

Status
Not open for further replies.

green6

Programmer
Apr 29, 2003
61
US
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.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top