Command Reference
Syslog Commands
logging trap
[
level
]
no logging trap
Parameter
Description
Parameter
Description
level
Severity of the log message. The name of the severity or the
numeral can be used. For the details of log severity, see Table 1.
Defaults
The default is informational(6)
Command
Mode
Global configuration mode
Usage Guide
To send logs to the Syslog Server, run the
logging
command in global configuration mode to
configure the
Syslog Server
. Then, run the
logging trap
command to specify the severity level of
logs to be sent.
The
show logging
command displays the configured related parameters and statistics of the log.
Configuration
Examples
The following example enables logs at severity 6 to be sent to the Syslog Server with the address of
202.101.11.22:
Ruijie(config)#
logging
202.101.11.22
Ruijie(config)#
logging trap informational
Related
Commands
Command
Description
logging on
Turns on the log switch.
logging
Sends logs to the Syslog server.
show logging
Displays the log messages and related log configuration
parameters in the buffer.
Platform
Description
N/A
8.33 logging userinfo
Use this command to enable the logging function to record user log/exit. Use the
no
form of this
command to restore the default setting.
logging userinfo
no logging userinfo
Parameter
Description
Parameter
Description
N/A
N/A
Defaults
No log message is printed recording user log/exit by default.
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...