Configuring system messages

This section provides information on configuring the system message logs.

Disabling a RASLog message or module

To disable a single RASLog message or all messages in a module, perform the following steps.

  1. Log in to the switch as admin.
  2. Use the following commands to disable a single RASLog message or all messages that belong to a module:

    • Enter the logging raslog message message_ID suppress command to disable a RASLog message. For example, enter the following command to disable the NSM-1001 message:
    switch:admin> logging raslog message NSM-1001 suppress
    2017/07/20-13:28:37, [LOG-1007], 375, M1, INFO, switch, Log message
    NS-1001 RASLOG message has been disabled.

    Use the show running-config logging raslog message message_ID command to verify the status of the message.

    • Enter the logging raslog module module_ID command to disable all messages in a module. For example, enter the following command to disable all messages that belong to the NSM module:
    switch:admin> logging raslog module NSM
    2017/07/20-13:28:37, [LOG-1007], 375, CHASSIS, INFO, switch, Log Module
    NSM module RASLOG message has been suppress.

    Use the show running-config logging raslog module module_ID command to verify the status of the messages that belong to a module.

Enabling a RASLog message or module

To enable a single RASLog message or all messages in a module that were previously disabled, perform the following steps.

  1. Log in to the switch as admin.
  2. Use the following commands to enable a single RASLog message or all messages that belong to a module:

    • Enter the no logging raslog message message_ID suppress command to enable a single RASLog message that has been disabled. For example, enter the following command to enable the NSM-1001 message that was previously disabled:
    switch:admin> no logging raslog message NS-1001 suppress
    2017/07/20-13:24:43, [LOG-1008], 374, M1, INFO, switch, Log Module NSM-1001
    RASLOG message has been enabled.

    Use the show running-config logging raslog message message_ID command to verify the status of the message.

    • Enter the no logging raslog module module_ID command to enable all messages in a module. For example, enter the following command to enable to all previously disabled NSM messages:
    switch:admin> no logging raslog module NSM
    2017/07/20-13:24:43, [LOG-1008], 374, M1, INFO, switch, Log Module NSM has
    been enabled.

    Use the show running-config logging raslog module module_ID command to verify the status of the messages that belong to a module.

Setting the severity level of a RASLog message

To change the default severity level of a RASLog message, perform the following steps.

  1. Log in to the switch as admin.
  2. Use the logging raslog message message_ID severity [CRITICAL | ERROR | WARNING | INFO] command to change the severity level of a message. For example, enter the following command to change the severity level of the SEC-1203 message to WARNING.
    switch:admin> logging raslog message SEC-1203 severity WARNING
  3. Use the show running-config logging raslog message message_ID severity command to verify the severity of the message.
    switch:admin> show running-config logging raslog message SEC-1203 severity
    WARNING