Viewing and clearing the RASLog messages

You can display the system message log by using the show logging raslog command. This command provides options to filter the messages by attribute, message type, severity, or message count. You can also specify that messages be displayed for a single module by using the blade option. Use the clear logging raslog command to delete the system messages.

Displaying the RASLog messages

To display the saved RASLog messages, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the show logging raslog command at the command line.
    device# show logging raslog
    SLX-OS: v17r.2.00
    2017/06/04-22:57:00, [HASM-1108], 94,, INFO, SLX9850-8, All service instances
    become active.
    
    2017/06/04-22:57:03, [DCM-1002], 96,, INFO, SLX9850-8, PostBoot processing on
    global config has started.
    
    2017/06/04-22:57:05, [BL-1000], 100,, INFO, SLX9850-8, Initializing ports...
    2012/06/13-05:10:22, [NSM-1004], 4428, DCE, INFO, sw0, Interface Vlan 1 is
    created.
    
    2017/06/13-05:10:24, [DOT1-1013], 4435, DCE, INFO, sw0, DOT1X test timeout
    value is set to 10.
    
    2017/06/13-05:10:24, [ONMD-1002], 4437, DCE, INFO, sw0, LLDP global
    configuration is changed.
    
    2017/06/13-05:10:28, [RAS-2001], 4438,, INFO, sw0, Audit message log is
    enabled.
    [...]

Displaying the messages on an interface module

To display the saved messages for a specific interface module, line card (LC), or management module, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the show logging raslog blade command at the command line. You can filter messages that are based on the severity level by using the severity option. The following example shows how to filter messages by the severity level of info.
    device# show logging raslog blade LC2 severity info
    SLX: 17r.2.00 
    2017/06/22-17:47:46, [HASM-1004], 52,  INFO, SLX9850-8, Processor reloaded - Reset.
    2017/06/22-17:47:46, [HASM-1104], 53,  INFO, SLX9850-8, Heartbeat to M1 up.
    2017/06/22-17:47:52, [HSL-1027], 57, L2/0 | Active, INFO, SLX-WESCON-R1,  Packet buffers initialized (6G)
    2017/06/22-17:51:02, [HASM-1108], 93, L2/0 | Active, INFO, SLX9850-8, All service instances become active.
    2017/06/22-17:51:02, [HASM-1134], 94, L2/0 | Active, INFO, SLX9850-8, All service instances on Active.
    2017/06/22-18:03:45, [RAS-1001], 184, L2/0 | Active, INFO, SLX9850-8, First failure data capture (FFDC) event occurred.
    2017/06/22-18:39:43, [HASM-1004], 298, L2/0 | Standby, INFO, SLX9850-8, Processor reloaded - Reset.
    2017/06/22-18:39:43, [HASM-1104], 299, L2/0 | Standby, INFO, SLX9850-8, Heartbeat to M1 up.
    2017/06/22-18:39:51, [HSL-1027], 305, L2/0 | Active, INFO, SLX-WESCON-R1,  Packet buffers initialized (6G)
    2017/06/22-18:43:01, [HASM-1108], 339, L2/0 | Active, INFO, SLX9850-8, All service instances become active.
    2017/06/22-18:43:01, [HASM-1134], 340, L2/0 | Active, INFO, SLX9850-8, All service instances on Active.
    2017/06/22-18:45:42, [RAS-1001], 407, L2/0 | Active, INFO, SLX9850-8, First failure data capture (FFDC) event occurred.
    2017/09/14-23:27:32, [HASM-1004], 648,  INFO, SLX9850-8, Processor reloaded - Reset,  HW reset reason : Plt Reset.
    2017/09/14-23:27:32, [HASM-1104], 649,  INFO, SLX9850-8, Heartbeat to M1 up.
    2017/09/14-23:27:43, [HSL-1027], 657, L2/0 | Active, INFO, SLX-F8-Hamza-VS,  Packet buffers initialized (6G)
    2017/09/14-23:30:21, [HASM-1108], 720, L2/0 | Active, INFO, SLX9850-8, All service instances become active.
    2017/09/14-23:30:21, [HASM-1134], 721, L2/0 | Active, INFO, SLX9850-8, All service instances on Active.
    [...]

Clearing the RASLog messages

To clear the RASLog messages for a particular switch instance, perform the following steps.
  1. Log in to the switch as admin.
  2. Enter the clear logging raslog command to clear all messages from the switch.

Viewing and clearing the SYSTEM messages

This section provides information on viewing and clearing the SYSTEM messages saved on the switch memory.

Displaying the SYSTEM messages: To display the messages that are saved in the SYSTEM storage repository, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the show logging raslog message-type SYSTEM command at the command line.
    device# show logging raslog message-type SYSTEM
    SLX-OS: v17r.2.00
    
    2017/09/14-04:52:05, [LOG-1003], 1,, INFO, VDX6720-60, SYSTEM error log has
    been cleared.
    
    2017/09/14-04:56:18, [DCM-1101], 2,, INFO, VDX6720-60, Copy running-config to
    startup-config operation successful on this node.
    
    2017/09/14-05:05:21, [RAS-1007], 5,, INFO, VDX6720-60, System is about to
    reboot.
    [...]
Clearing the SYSTEM messages: To clear the messages that are saved in the SYSTEM storage repository, perform the following steps.
  1. Log in to the switch as admin.
  2. Enter the clear logging raslog message-type SYSTEM command to clear all system messages from the local switch.

Viewing and clearing the DCE messages

This section provides information on viewing and clearing the DCE messages that are saved in the switch memory.

Displaying the DCE messages: To display the saved DCE messages, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the show logging raslog message-type DCE command at the command line.
    device# show logging raslog message-type DCE
    SLX: 17r.2.00
    2017/09/30-21:25:34, [NSM-1004], 41, M1 | DCE, INFO, switch, Interface Vlan
     4093 is created.
    2017/09/30-21:25:34, [NSM-1019], 42, M1 | DCE, INFO, switch, Interface Vlan
     4093 is administratively up.
    2017/09/30-21:25:52, [DOT1-1013], 50, M1 | DCE, INFO, switch, DOT1X test
     timeout has set to 10.
    2017/09/30-21:25:52, [ONMD-1002], 59, M1 | DCE, INFO, switch, LLDP global
     configuration is changed.
    2017/09/30-21:25:53, [SSMD-1602], 63, M1 | DCE, INFO, switch, Class map
     default is created.
    2017/09/30-21:25:55, [NSM-1004], 58, M1 | DCE, INFO, switch, Interface Vlan
     1002 is created.
    2017/09/30-21:25:55, [ONMD-1002], 59, M1 | DCE, INFO, switch, LLDP global
     configuration is changed.
    2017/09/30-21:25:59, [SSMD-1602], 63, M1 | DCE, INFO, switch, Class map
     default is created
    [...]

Clearing the DCE messages: To clear the DCE messages for a particular switch instance, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the clear logging raslog message-type DCE command to clear all DCE messages from the local switch.

Displaying the FFDC messages

This section provides information on viewing the FFDC messages that are saved in the switch memory.

To display the saved FFDC messages, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the show logging raslog attribute FFDC command at the command line.
    device# show logging raslog attribute FFDC
    SLX: 17r.2.00
    2017/06/22-17:53:07, [HASM-1200], 150, M1 | Active | FFDC, WARNING, SLX9850-8, Detected termination of process mpls_main:5834.
    2017/09/14-23:28:18, [HASM-1200], 666, L1/0 | Active | FFDC, WARNING, SLX9850-8, Detected termination of process hslagtd:2915.
    

Displaying the description of the RASLog modules

To display the description of the RASLog modules, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the rasman description command at the command line.
    device# rasman description
    RASModule ID Description
    -------------------------------------------------------
    KT        1  Kernel Test ID
    UT        2  User Test ID
    TRCE      3  Trace Subsystem (User)
    KTRC      4  Trace Subsystem (Kernel)
    LOG       5  RASLOG module
    CDR       6  Condor ASIC driver
    [...]

Displaying RASLog messages in a module

To display the list of all RASLog messages in a module with their message text, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the rasman module name module_name command at the command line. For example, enter the following command to display all messages in the AUTH module.
    device# rasman module name AUTH
    RAS Message ID Severity Message
    ------------------------------------------------------------------
    AUTH-1001 INFO %s has been successfully completed.
    AUTH-1002 ERROR %s has failed.
    AUTH-1003 INFO %s type has been successfully set to %s.
    AUTH-1004 ERROR Failed to set %s type to %s.
    AUTH-1005 ERROR Authentication file does not exist: %d.
    AUTH-1006 WARNING Failed to open authentication configuration file.
    AUTH-1007 ERROR The proposed authentication protocol(s) are not
    supported: port %d.
    AUTH-1008 ERROR No security license, operation failed.
    [...]

Displaying RASLog messages by type: To display the list of RASLog messages that are based on the message type, perform the following steps.

  1. Log in to the switch as admin.
  2. Enter the rasman type value message_type command at the command line. For example, enter the following command to display all AUDIT messages.
    device# rasman type value AUDIT
    RAS Message ID Severity Message
    ------------------------------------------------------------------
    FCIP-1002 INFO An IPsec/IKE policy was added
    FCIP-1003 INFO An IPsec/IKE policy was deleted
    AUTH-1045 ERROR Certificate not present in this switch in %s port
    %d.
    AUTH-1046 INFO %s has been successfully completed.
    AUTH-1047 ERROR %s has failed.
    AUTH-3001 INFO Event: %s, Status: success, Info: %s type has been
    changed from [%s] to [%s].
    AUTH-3002 INFO Event: %s, Status: success, Info: %s.
    AUTH-3003 INFO Event: %s, Status: success, Info: %s the PKI
    objects.
    [...]