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

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

Compliance management question

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

2 REPLIES
New Member

Re: Compliance management question

My mistake :

CLI commands conditional block : + macro description vi

CLI Compliance block : + authentication periodic

Cisco Employee

Re: Compliance management question

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

203
Views
0
Helpful
2
Replies