cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
818
Views
0
Helpful
2
Replies

Prime 3.0 Compliance Input Rule Multiple Values

Hi all,

Does anyone know how a Rule Input with multiple values can be used?

For example I want to check if a specific SNMP trap source interface is configured (snmp-server trap-source Vlan10)

In our network this could be Loopback0 or Vlan10. If I cretae an Input Rule:

Title: Interfaces

Data Type: String

Accept Multiple Values

Scope: Execution

How can I check my configuration agains the values in the Rule Input?

I tried it with two conditions:

1: snmp-server trap-source (.*)

2:  <1.1> matches <_Interfaces>

But that didn't do it:

Violation: Configuration "Loopback10 matches [Vlan10, Loopback0]"

2 Replies 2

joshelton
Level 1
Level 1

I know this is a very old thread. But did you ever find a solution? I am trying to specify some interfaces to exclude from a check, and cannot find a proper syntax to make it work.

However, I am using the same logic you are with <1.1> matches <_Interfaces>

No, unfortunately not...

Review Cisco Networking for a $25 gift card