Link to home
Start Free TrialLog in
Avatar of nabeel92
nabeel92

asked on

pix access-list

Hi there,
I'd like to know if there is any way in defining an ACL that I can insert certain entries in between the lines; for instance if there is ACL at line # 10 and #15, i want to insert an entry into line 11. I cant seem to do that ... When I define my ACL like this

access-list 1 line 1 extended permit tcp any host x.x.x.x

and then at line 10, i want to define

access-list 1 line 10 extended permit udp any host x.x.x.x

Now, ideally the second ACL should have been at line # 10, but when i do show access-list, it shows me the ACL at line #2 instead of line # 10. This is a problem coz later if i have to insert any entries in between i cant do that .... any suggestions ?
Avatar of debuggerau
debuggerau
Flag of Australia image

the line number just signifies the position of the insert.
I just tried it with version 7 and 8, and it works as described, are you using version 6(3)?

There are no actual line numbers, it just represents their position as far as priority goes.

Any repeats are associated with the same host, so if it is out of the intended numbering order , it could be that it is still applied to that host and the order wont matter..
ASKER CERTIFIED SOLUTION
Avatar of nodisco
nodisco
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nabeel92
nabeel92

ASKER

Gott Yaaaaaaaaaaa..........thanks
explained in a very clear manner, thank you
welcome mate