No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Troubleshooting Guide

CloudEngine 16800, 12800, 12800E, 8800, 7800, 6800, and 5800 Series Switches

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
A Delay or an Incorrect Timestamp Occurs During Log Output

A Delay or an Incorrect Timestamp Occurs During Log Output

Fault Description

  • A delay or loss occurs during log output.

  • The timestamp in the log information is inconsistent with the device time.

Common Causes

  • If too many debugging functions are enabled, the processing speed of the log component is affected. As a result, the log information is delayed or lost when being output.

  • The time zone has been configured on the device, but the standard UTC time without the time zone is used for log output. Therefore, the timestamp in the log is different from the device time.

Troubleshooting Procedure

  • A delay or loss occurs during log output.

    When the log storage space of the device is insufficient, the system deletes the earliest compressed log file to ensure that the latest log file can be recorded. Therefore, the delay or loss of output log information will not be caused by the insufficient log storage space of the device. Check whether the processing speed of the log component is affected because too many debugging functions are enabled.

    Run the display debugging all-session command to check whether debugging of all command lines is enabled.

    <HUAWEI> system-view 
    [~HUAWEI] diagnose 
    [~HUAWEI-diagnose] display debugging all-session 
    Session [84]: ACL_DEBUG_ACL6_CONFIG debugging switch is on  
    Session [84]: ARP packet debugging switch is on  
    1. Disable the debugging. If the fault persists, collect alarms, logs, and configurations and contact technical support.

  • The timestamp in the log information is inconsistent with the device time.

    1. If the time difference is not caused by the delay, run the display clock command to check the current date and time of the system.

      <HUAWEI> display clock
      2010-01-01 06:02:51+08:00                                                        
      Friday                                                                           
      Time Zone(BJ) : UTC+08:00                                                        
      Daylight saving time    :                                                                 
      Name           :  BJ                                                             
      Repeat mode    :  one-year                                                       
      Start year     :  2011                                                           
      End year       :  2011                                                           
      Start time     :  2011-08-01 06:00:00                                            
      End time       :  2011-10-01 06:00:00                                            
      Saving Time    :  01:00:00   

      In the command output, Time Zone indicates the time zone configured on the device.

    2. Run the display current-configuration command to check the currently effective configuration parameters. Check whether the without-timezone parameter is specified in the info-center timestamp log command to prevent the logs that are output to the terminal, log file, log buffer, and log host from carrying the time zone and daylight saving time (DST) information.

      If so, run the undo info-center timestamp log command to restore the default timestamp format of output log information.

Translation
Download
Updated: 2020-01-07

Document ID: EDOC1000060766

Views: 604159

Downloads: 2938

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next