Compliance management question

Unanswered Question
Jul 27th, 2010
User Badges:

Dear,


I am trying to get all ports on devices with the following specs :


+ macro description vi
- authentication periodic


The strange thing is that RME takes only one of the 2 lines, how do I configure

RME so I have all the ports with the macro commando and without the authentication commando ?


Many thanks,

Lieven Stubbe

NMBS

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
lni1 Tue, 07/27/2010 - 04:40
User Badges:

My mistake :


CLI commands conditional block : + macro description vi

CLI Compliance block : + authentication periodic

Joel Monge Tue, 07/27/2010 - 08:32
User Badges:
  • Cisco Employee,

Based on your last update, you want to add "authentication periodic" only on interfaces that contain "macro description vi".  If so, this should do it:


Conditional Block:


Name: DefaultPreReq     SubMode: Yes      isPrerequisite: Yes
Ordered : No     Prerequisite-Commandset : none     Parent: none
  [#interface.*#]
  +   macro   description   vi


Compliance Block:


Name: Commands     SubMode: Yes      isPrerequisite: No
Ordered : No     Prerequisite-Commandset : DefaultPreReq     Parent: none
  [#interface.*#]  (Using   the   submode   of   conditional   commands   above)
  +   authentication   periodic

Actions

This Discussion