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

LMS RME Compliance Mgtm - Template Question

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
Cisco Employee

Re: LMS RME Compliance Mgtm - Template Question

With two servers, try:

+   logging   10.0.0.1
+   logging   10.0.0.2

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

3 REPLIES
Cisco Employee

Re: LMS RME Compliance Mgtm - Template Question

Assuming the syslog server you want is 10.1.1.1, do:

+ logging 10.1.1.1

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

New Member

Re: LMS RME Compliance Mgtm - Template Question

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

Cisco Employee

Re: LMS RME Compliance Mgtm - Template Question

With two servers, try:

+   logging   10.0.0.1
+   logging   10.0.0.2

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

303
Views
0
Helpful
3
Replies