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.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...