Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Baseline Templates and multiple Prerequisites

I have a Baseline template that works well with 95% of our switches. Basically, it checks for lots of global commands, and has two seperate parent/child relationships for access ports and trunk ports.

The parent of each is a prerequisite for the child. The parent/prereequisite sets the submode and checks to see if its configured as access or trunk (switchport mode access/switchport mode trunk) since they are mutually exclusive.

The children then will be checked only if their parent passes and will ensure all the normal trunk/access STIG commands are applied.

This works everywhere except the few devices with no ports configured as trunks. If a switch has no trunk ports, the template is flagged as not containing all the prerequisites and the entire template check is skipped(including the global checks).

Is there any logic I can apply to circumvent this? Or do I have to peel the trunk port checks into a separate template?

I am running LMS3.1

Cisco Employee

Re: Baseline Templates and multiple Prerequisites

I assume you're seeing:

CM0152 Prerequisite Commands does not exist in device archive.

From the devices without trunks. If so, this is bug CSCsz36795. The only workaround is to split each prereq and associated commandlet into its own template. A patch is available for RME 4.2 from the TAC.

New Member

Re: Baseline Templates and multiple Prerequisites

thanks for the quick, accurate reply.

I seem to hit a lot of bugs :-(