cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
509
Views
0
Helpful
2
Replies

Compliance management question

lni1
Level 1
Level 1

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 2

lni1
Level 1
Level 1

My mistake :

CLI commands conditional block : + macro description vi

CLI Compliance block : + authentication periodic

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco