EasyManua.ls Logo

Ruijie RG-S2600G-I Series - Show Logging

Ruijie RG-S2600G-I Series
1192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CLI Reference Guide Syslog Configuration Commands
Parameter
Description
Parameter
Description
message-type
The types of log, including Log and Debug. The log type means
the log information with severity levels of 0 to 6. The debug type
means that with severity level 7.
uptime
Device start time in the format of *Day*Hour*Minute*Second, for
example, 07:00:10:41
datetime
Current time of the device in the format of
Month*Date*Hour*Minute*Second, for example, Jul 27 16:53:07
msec
Current time of the device in the format of
Month*Date*Hour*Minute*Second*milisecond, for example, Jul
27 16:53:07.299
year
Current time of the device in the format of
Year*Month*Date*Hour*Minute*Second, for example, 2007 Jul
27 16:53:07
Defaults
The time stamp in the log information is the current time of the device. If the device has no RTC, the
time stamp is automatically set to the device start time.
Command
Mode
Global configuration mode.
Usage Guide
When the uptime option is used, the time format is the running period from the last start of the
device to the present time, in seconds. When the datetime option is used, the time format is the
date of the current device, in the format of YY-MM-DD, HH:MM:SS.
Configuration
Examples
The example below enables the timestamp for log and debug information, in format of Datetime,
supporting milisecond display.
Ruijie(config)# service timestamps debug datetime msec
Ruijie(config)# service timestamps log datetime msec
Ruijie(config)# end
Ruijie(config)# Oct 8 23:04:58.301 %SYS-5-CONFIG I: configured from console
by console
Related
Commands
Command
Description
logging on
Record logs on different devices.
service sequence-numbers
Attach sequential number to logs.
Platform
Description
-
show logging
Use this command to show parameters and statistics information about logs and the logs in the buffer.

Table of Contents

Related product manuals