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.
Содержание RG-S2600G-I Series
Страница 1: ...1 CLI Reference Guide RG S2600G I Series Switches RGOS 10 4 3b16...
Страница 5: ...5...
Страница 192: ...CLI ReferenceInterface Configuration Commands Interface Configuration Commands Platform Description...
Страница 452: ...CLI Reference DHCP Configuration Commands commands clear ip dhcp server statistics Delete the DHCP server statistics...
Страница 505: ...CLI Reference TCP Configuration Commands Related commands Command Description...
Страница 513: ...CLI Reference IPv4 REF Configuration Commands Platform description N A Command history Version Description...
Страница 514: ...IP Routing Configuration Commands 1 IP Routing Configuration Commands...
Страница 527: ...Multicast Configuration Commands 1 IGMP Snooping Configuration Commands 2 MLD Snooping Configuration Commands...
Страница 642: ...CLI Reference TACACS Configuration Commands host...
Страница 652: ...CLI Reference 802 1X Configuration Commands Ruijie config if end...
Страница 744: ...CLI Reference CPU Protection Configuration Commands Caution This command is not supported on S3760 series...
Страница 773: ...CLI Reference IPSource Guard Configuration Commands Platform description This command is supported on all switches...
Страница 776: ...CLI Reference ND Snooping Configuration Commands...
Страница 901: ...CLI Reference NFPP Configuration Commands...
Страница 902: ...ACL QOS Configuration Commands 1 ACL Configuration Commands 2 QoS Configuration Commands...
Страница 999: ...CLI Reference RLDP Configuration Command Command mode Privileged EXEC mode...
Страница 1004: ...CLI Reference DLDP Configuration Commands Ruijie config if FastEthernet 0 0 clear dldp 20 1 1 1 10 1 1 1...
Страница 1005: ...CLI Reference DLDP Configuration Commands...
Страница 1146: ...CLI Reference VSU Configuration Commands Examples Ruijie vsu conver to stack Related Commands Command Description N A N A...
Страница 1191: ...CLI Reference Guide RSPAN Configuration Commands Platform Description N A...
Страница 1192: ...CLI Reference Guide...