This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

ACL1 Log

Hello Community,

 

            I am trying to use NCM rules to iterate through each line of ACL 1 and make sure they have log on the end. However, I can't seem to get it to work. I am looking for a config block starting with ^access-list 1.* and ending with (\r|\n). The rule is it must contain ^access-list 1 (permit|deny) (any|\d+\.\d+\.\d+\.\d+) log. However, this is saying it does not violate, even on the ones that do violate this. Any insight would be appreciated.

Thank you,

JAF