7 Replies Latest reply on Nov 12, 2019 5:17 PM by christopher.t.jones123

    NCM policy rule creation for specific interfaces

    jacob.johnson

      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