Quantcast
Channel: THWACK: Popular Discussions - Network Configuration Manager
Viewing all articles
Browse latest Browse all 4266

Policy Rule Creation - Blocks

$
0
0

Hi all,

 

I've been trying to create a policy rule that would look for the presence of the following statements (Cisco Devices):

 

line aux o

     access-class 22 in

line vty 0 4

     access-class 22 in

 

The problem is that it's not recognizing access-class 22 in as a string that should exist at each block, it reports no violation as long as it finds it at least once in the config file and I'm not sure what I did wrong. I tried playing with the parenthesis but that didn't help, I tried multiple things, including the string matching that I'm showing in the attached image. I'd really appreciate your inputs!


Viewing all articles
Browse latest Browse all 4266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>