LMS RME Compliance Mgtm - Template Question

Answered Question
Feb 10th, 2010
User Badges:

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

Correct Answer by Joe Clarke about 7 years 3 months ago

With two servers, try:



+   logging   10.0.0.1
+   logging   10.0.0.2

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Wed, 02/10/2010 - 16:40
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Assuming the syslog server you want is 10.1.1.1, do:


+ logging 10.1.1.1

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

Support Team Sat, 02/13/2010 - 07:05
User Badges:

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

Correct Answer
Joe Clarke Sat, 02/13/2010 - 10:47
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

With two servers, try:



+   logging   10.0.0.1
+   logging   10.0.0.2

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

Actions

This Discussion