Wired1

last person joined: 12 hours ago 

Logging Filters on 2530 Switch

This thread has been viewed 12 times
  • 1.  Logging Filters on 2530 Switch

    Posted Jan 22, 2021 09:48 AM
    The logs on the 2530 mini switch are getting filled with hourly messages from the AMP server checking in and saying it is registered as well as daily messages that the system time was changed.

    For example:

    I 01/22/21 05:00:30 04908 ntp: The system clock time was changed by 0 sec
    618485431 nsec. The new time is Fri Jan 22 05:00:30 2021

    I set up a logging filter to prevent showing the AMP messages. This works well. I am also trying to set up a filter to prevent showing the NTP messages. However, in the running-config it is showing that it only enables one or the other but not both.

    Here are the commands I ran:

    logging filter "NoServerReg" 1 "AMP server" deny
    logging filter "NoServerReg" default permit
    logging filter "NoServerReg" enable
    logging filter "NoClockTime" 2 "system clock time" deny
    logging filter "NoClockTime" default permit
    logging filter "NoClockTime" enable


    However if I show the running-config, it only has one of them enabled:

    logging filter "NoClockTime" 2 "system clock time" deny
    logging filter "NoClockTime" default permit
    logging filter "NoServerReg" 1 "AMP server" deny
    logging filter "NoServerReg" default permit
    logging filter "NoServerReg" enable

    If I re-enter the "NoClockTime" enable command, then the "NoServerReg" goes away.


    Any thoughts to resolve this?