cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
690
Views
0
Helpful
3
Replies

LMS RME Compliance Mgtm - Template Question

Support Team
Level 1
Level 1

Hello

I have LMS 3.2 on Windows. I have a question about compliance template. How I can describe unknown values in template? For example: I have routers with 2 - 3 syslog server (on each router they are different) and I want remove all of them and add new.

Regards,

Stanislav Kuchma

1 Accepted Solution

Accepted Solutions

With two servers, try:

+   logging   10.0.0.1
+   logging   10.0.0.2

-   logging  [#!(10\.0\.0\.1|10\.0\.0\.2)#]

View solution in original post

3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

Assuming the syslog server you want is 10.1.1.1, do:

+ logging 10.1.1.1

- logging [#(?!10\.1\.1\.1)#]

I have syslog 10.0.0.1 10.0.0.2 (and in routers config i have several "bad" syslog with "random" addresses):

If i wrote:

+   logging   10.0.0.1
+   logging   10.0.0.2

-   logging  [#?!(10\.0\.0\.1)#]

RME tries remove all syslog servers ("good" and "bad")

If i wrote:

+   logging   10.0.0.1
+   logging   10.0.0.2

-   logging  [#(?!10\.0\.0\.1)#]

RME says ok and don't remove "bad" servers

With two servers, try:

+   logging   10.0.0.1
+   logging   10.0.0.2

-   logging  [#!(10\.0\.0\.1|10\.0\.0\.2)#]

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: