How can you check default configuration information w/ baseline templates?

Unanswered Question
Jun 26th, 2008

We use "skeleton files" to enforce certain configuration commands to all devices. Skeletons are based upon platform, IOS/catos, etc.

For example:

logging buffered info

logging console debug

logging monitor debug

logging buffer 16384

logging trap informational

The problem is that if I put these commands into the baseline template, all devices are non-compliant because they are default commands. But, if we don't put them into the skeleton, they don't get turned on.

How can we use baseline templates to find out if certain commands a turned on or off?

I'm using LMS 2.6/RME 4.0.6

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Joe Clarke Thu, 06/26/2008 - 13:12

This is a good use for prerequisites. For example, if you create a prereq template like:

+ [#logging console .*]

Then, if a device HAS this command, you can do a further compliance check:

+ logging console debug

This way, a device which doesn't have a logging console command in its standard running config you know will be compliant since "logging console debug" is the default. You can repeat this for the other commands.

ROMAN TOMASEK Tue, 04/19/2011 - 08:11

Hi Joe,

how can lms check the default settings? When I configured for example "+ logging on"- this is the default setting on routers and the LMS can't to see it in the running configuration. All jobs are marked as non compliant. So is possible to check default settings?

I tried to use template with the following command: "- no logging on" - this command is seen in the running config, but when I deployed this template the lms used the following command "no no logging on":-(.

Can you help me?

Thank you

Roman

Actions

This Discussion