Command Reference
Syslog Commands
timestamp %facility-severity-mnemonic: description
Here is an example:
May 31 23:31:28 %SYS-5-CONFIG_I: Configured from console by console
The difference between the standard syslog format and the default syslog format lies in the following
marks:
The standard syslog does not have
“*” before the timestamp and “
:
” after the timestamp.
Configuration
Examples
The following example sets the standard syslog format.
Ruijie(config)# service standard-syslog
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A
8.39 service sysname
Use this command to attach system name to logs in global configuration mode. Use the
no
form of this
command to restore the default setting.
service sysname
no service sysname
Parameter
Description
Parameter
Description
N/A
N/A
Defaults
No system name is attached to logs by default.
Command
Mode
Global configuration mode
Usage Guide
This command allows you to decide whether to add system name in the log information.
Configuration
Examples
The following example adds a system name in the log information:
Mar 22 15:28:02 %SYS-5-CONFIG: Configured from console by console
Ruijie #
config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Ruijie (config)#
service sysname
Ruijie (config)#
end
Ruijie #
Mar 22 15:35:57 S3250 %SYS-5-CONFIG: Configured from console by console
Содержание 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...