RME config compliance check

Answered Question
Nov 26th, 2008
User Badges:

Hello! we have a template for different Cisco devices configuration.however some times the configuration mismatch the template after the device sent to the field or after somebody reconfigure it. my intention is the check all device meet the standard once a while.what's the easy way to do that? can you refer me any literature to guide me.can I check the whole configuration at once or line by line or command bases?

Correct Answer by Joe Clarke about 8 years 7 months ago

For this you'd need a regular expression:


+ [#snmp-server location (First|Second|Third) floor#]

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Wed, 11/26/2008 - 11:42
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

What version of RME is this?

Joe Clarke Wed, 11/26/2008 - 13:40
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

See this thread:


http://forum.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Network%20Infrastructure&topic=Network%20Management&topicID=.ee71a02&fromOutline=&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.2cc18dce


You can schedule config compliance jobs to run periodically. However, you will not be able to operate on dynamic groups in RME 4.0.6. That means, that if you add or delete devices from RME, you will have to recreate your job.


Config compliance jobs can be scheduled under RME > Config Mgmt > Archive Mgmt > Baseline Templates. You can look at the context-sensitive help under that page to get more details on this feature.

eliaspaulos Mon, 12/01/2008 - 12:56
User Badges:

thanks J. I have couple of question 1st- when I select the device, can I choose just router as generic or router specific model should select?

finally can I replace the specific ip address or chassis id or any specific name with XXXX?

Joe Clarke Mon, 12/01/2008 - 13:06
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

You can choose the generic Routers category provided your compliance template was designed for Routers. If you want to create dynamic parameters, enclose them in []. For example:


+ hostname [HOSTNAME]


interface Loopback0

+ ip address [IPADDR] [MASK]


Then, when deploying the template, you will get an opportunity to fill in these parameters for specific devices.

eliaspaulos Mon, 12/01/2008 - 13:16
User Badges:

thanks, I am wondering I can solve this.

+ snmp-server location First floor


so I want the location to be variable, can be 2nd floor an so on.can I use


+ snmp-server location []

Correct Answer
Joe Clarke Mon, 12/01/2008 - 13:20
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

For this you'd need a regular expression:


+ [#snmp-server location (First|Second|Third) floor#]

Actions

This Discussion