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

NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - System Management
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).
Setting the Timestamp Format of the Information

Setting the Timestamp Format of the Information

This section describes how to set the timestamp format of the information.

Usage Scenario

The timestamp format of the information can be set to meet different time requirements in different places. After the configuration is complete, new information is generated according to the set timestamp format.

NOTE:

In this document, timestamp formats of logs, traps, and debugging information are set.

Only physical systems (PSs) support setting the timestamp format of the Information.

Pre-configuration Tasks

Before setting the timestamp format in the information, ensure that the device is powered on correctly and the self-test is successful.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run any of the following commands to set the timestamp format of the information:

    • To set the timestamp format of the log information, run the info-center timestamp log { boot | { date | short-date | format-date } [ precision-time { tenth-second | millisecond | second } ] } command.
    • To set the timestamp format of the trap, run the info-center timestamp trap { boot | { date | short-date | format-date } [ precision-time { tenth-second | millisecond | second } ] } command.
    • To set the timestamp format of the debugging information, run the info-center timestampdebugging { boot | { date | short-date | format-date } [ precision-time { tenth-second | second | millisecond } ] } [ without-timezone ] command.

  3. Run commit

    The configuration is committed.

Checking the Configurations

Run the display logbuffer command to check whether the timestamp format in the log information is configured successfully.

Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055400

Views: 14493

Downloads: 26

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next