Quantcast
Channel: THWACK: All Content - Network Configuration Manager
Viewing all articles
Browse latest Browse all 6057

NCM policy rule creation for specific interfaces

$
0
0

What I am looking to do is write a rule that checks three interfaces and looks for the shutdown command on those interfaces.

 

I wrote it like this initially

 

Must contain find string   Interface GigabitEthernet2/43

                                           Shutdown

 

That actually did work on a few, because there was no garbage in between.  but most of them have stuff in between.

 

If I do this with a config block it targets all the interfaces.

 

so what is the solution to write a simple rule that confirms or denies that only 7 specefic interfaces are in a shutdown state?

 

I need Interface GigabitEthernet2/41 through 2/47.

 

any advise suggestions would be very helpful.

 

thank you


Viewing all articles
Browse latest Browse all 6057

Trending Articles



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