06-15-2021 08:53 AM
Hi All,
QN1.
I have a network object 10.0.0.0/8 and it is added to "my-internal-ip network" object group.
in ASDM i can check where this policy is used and policy number.
similary , is there any way to check in CLI for the above asked details.
QN2 .
i have 10 policies configured in ASDM [1 to 10]
How can i insert any policy between policy 4 and 5 using cli.
Solved! Go to Solution.
06-15-2021 09:01 AM
Try this:- "show access-list | include XXXXX" which will show you which access-list ACE entry this object is used in.
You need to use "line" when adding an ACE.
The command for adding an ACE is access-list name [line line-num] type parameters. The line number argument works for extended ACLs only. If you include the line number, the ACE is inserted at that location in the ACL, and the ACE that was at that location is moved down, along with the remainder of the ACEs (that is, inserting an ACE at a line number does not replace the old ACE at that line). If you do not include a line number, the ACE is added to the end of the ACL. The parameters available differ based on the ACL type; see the specific topics on each ACL type for details.
06-15-2021 09:30 AM
You can try "sh run | i my-internal-ip network" to find out where the object is being used, that would show you the ACLs then with that just find the order and as indicated by @Rob Ingram just add an ACE.
HTH
06-15-2021 09:01 AM
Try this:- "show access-list | include XXXXX" which will show you which access-list ACE entry this object is used in.
You need to use "line" when adding an ACE.
The command for adding an ACE is access-list name [line line-num] type parameters. The line number argument works for extended ACLs only. If you include the line number, the ACE is inserted at that location in the ACL, and the ACE that was at that location is moved down, along with the remainder of the ACEs (that is, inserting an ACE at a line number does not replace the old ACE at that line). If you do not include a line number, the ACE is added to the end of the ACL. The parameters available differ based on the ACL type; see the specific topics on each ACL type for details.
06-15-2021 09:30 AM
You can try "sh run | i my-internal-ip network" to find out where the object is being used, that would show you the ACLs then with that just find the order and as indicated by @Rob Ingram just add an ACE.
HTH
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide