Command Reference
Syslog Commands
Defaults
The buffer size is related to the specific device type.
access switches: 128 K Bytes;
The log severity is 7.
Command
Mode
Global configuration mode
Usage Guide
The memory buffer for log is used in recycled manner. That is, when the memory buffer with the
specified size is full, the oldest information will be overwritten. To show the log information in the
memory buffer, run the
show logging
command in privileged user mode.
The logs in the memory buffer are temporary, and will be cleared in case of device restart or the
execution of the
clear logging
command in privileged user mode. To trace a problem, it is required
to record logs in flash or send them to Syslog Server.
The log information is classified into the following 8 levels (Table 1):
Table-1
Keyword
Level
Description
Emergencies
0
Emergency case, system cannot run
normally
Alerts
1
Problems that need immediate remedy
Critical
2
Critical conditions
Errors
3
Error message
warnings
4
Alarm information
Notifications
5
Information that is normal but needs
attention
informational
6
Descriptive information
Debugging
7
Debugging messages
Lower value indicates higher level. That is, level 0 indicates the information of the highest level.
When the level of log information to be displayed on devices is specified, the log information at or
below the set level will be allowed to be displayed.
After running the system for a long time, modifying the log buffer size especially in condition of
large buffer may fails due to the insufficent availble continuous memory. The failure message
will be shown. It is recommended to modify the log buffer size as soon as the system starts.
Configuration
Examples
The following example allows logs at and below severity 6 to be recorded in the memory buffer sized
10,000 bytes.
Ruijie(config)#
logging buffered
10000 6
Related
Commands
Command
Description
logging on
Turns on the log switch.
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...