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

Cisco Prime 3.7 compliance not recognizing different templates.

NicP
Level 1
Level 1

Currently i am taking the effort to set up a compliance for templates to make the production environment consistent to the standard and keep it that way.

For that i pick up the running config of a switch, search for a specific template, create a block of the template and check it's configuration.

Problem is that it doesn't seem to recognize different templates and i get violations of non existent templates while these are present on the switch.

I tried a couple of things to set up the block (block start expression value).

1. ^template (.*)

results int violation of missing template

2. ^template TEMPLATENAME

results in succes, even when the template isn't compliant.

3. (^template TEMPLATENAME) and ^template (TEMPLATENAME)

same as 2, a succes while they are not compliant.

 

I am testing it on a C3560CG-8PC-S and Prime 3.7

every template has his own ruleset and ruleset picks up the running-config with "show run"

advanced block options has "Rule Passed if Any Sub block is passed" set.

difference in template is mostly name, description and vlan.

 

If someone can help me with this i would be grateful.

0 Replies 0