Diagnostics Corefiles

The tolt diagnostics corefiles portion of the tree is utilized for management of corefiles on the system.  It allows for the creation of corefile archives that can be used by Tellabs Development to determine the cause of failures in the system.

There are three actions, a list to list the corefiles present on the OLT, a create action to create a corefile archive to sending to tellabs tac, and a delete action for deleting unneeded core files.

 

Diagnostics corefiles Attributes 

Attribute

Values

Description

List

 

The action to list all corefiles on the OLT disk.  Most corefiles are issues that should be shared with TAC for analysis.

Create

 

The action to create a corefile archive and place it into the sftp files area for transfer off the OLT.

Input

 

Container for action parameters.

Corefile-names

<string>

This parameter is optional and specifies the name of specific corefiles to include in the archive.  By default all will be included in the archive.

Tgz-name

String

The filename to use for the corefiles archive.

Delete

String

The delete action is used to detete specific corefiles from the OLT.

Corefile-names

String

A list of one or more corefile names to delete.  This is a standard list.

 

Diagnostics corefiles List Example

This example will list the corefiles present on the OLT.

 

  1. From the MDS1-ESUA# command line, input tolt diagnostics corefile listand press Enter.  Output similar to the following is displayed:
     
    MDS1-ESUA# tolt diagnostics corefile list <enter>
    status Found 7 core file(s) in /usr/bob/tmp/corefiles
    action-success true
    reason Core files listed successfully
    corefiles core.db_recover.2628.1775600182 | 614400 bytes | 2026-04-07 17:16:22
    core.db_recover.2750.1775600183 | 614400 bytes | 2026-04-07 17:16:23
    core.db_recover.2959.1775600184 | 614400 bytes | 2026-04-07 17:16:24
    core.db_recover.2986.1775600184 | 614400 bytes | 2026-04-07 17:16:24
    core.db_recover.2990.1775600184 | 614400 bytes | 2026-04-07 17:16:24
    core.db_recover.3034.1775600188 | 614400 bytes | 2026-04-07 17:16:28
    core.db_recover.3051.1775600191 | 614400 bytes | 2026-04-07 17:16:31
    
    MDS1-ESUA# _
    

 

Diagnostics corefiles Create Example

Corefiles that are created are placed in the diagnostics directory of the sftp area of the disk.

 

  1. From the MDS1-ESUA# command line, input tolt diagnostics corefiles create tqz-name my-corefiles-4-10-2026and press Enter.  Output similar to the following is displayed.
     
    MDS1-ESUA# tolt diagnostics corefiles create tqz-name my-corefiles-4-10-2026 <enter>
    status Created archive 'my-corefiles-4-10-2026.tgz' with 7 core file(s) from /usr/bob/tmp/corefiles into /usr/bob/sftp/diagnostic
    action-success true
    reason Created archive 'my-corefiles-4-10-2026.tgz' with 7 core file(s) from /usr/bob/tmp/corefiles into /usr/bob/sftp/diagnostic
    archive-name my-corefiles-4-10-2026.tgz
    archive-path /usr/bob/sftp/diagnostic/my-corefiles-4-10-2026.tgz
    warning Archive created successfully. Please retrieve and delete it after use, since core archives may consume significant disk space.
     
    MDS1-ESUA# _
    

Diagnostics corefiles Delete Example

The delete function is used to delete corefiles from the OLT.  Archive files are deleted via the sftp tool and any sftp user should be able to delete files.

 

  1. From the MDS1-ESUA# command line, input tolt diagnostics corefiles delete corefile-names [ core.db_recover.2990.1775600184 core.db_recover.3034.1775600188 ], and press Enter.  Output similar to the following is displayed.
     
    MDS1-ESUA# tolt diagnostics corefiles delete corefile-names [ core.db_recover.2990.1775600184 core.db_recover.3034.1775600188 ] <enter>
    status Deleted 2 file(s)
    action-success true
    reason Deleted: core.db_recover.2990.1775600184, core.db_recover.3034.1775600188
    
    MDS1-ESUA# _