Command Reference Syslog Commands
Sequence log messages Attaches system names to the logs.
Count log messages Log statistics function
Trap logging
Level of the logs sent to the syslog server, and
statistics
Log Buffer Log files recorded in the memory buffer
Related
Commands
Command Description
logging on
Turns on the log switch.
clear logging
Clears the log messages in the buffer.
Platform
Description
N/A
show logging count
Use this command to show the statistics about occurrence times, and the last occurrence time of
each module log in the system in privileged mode.
show logging count
Parameter
Description
Parameter Description
N/A N/A
Defaults
N/A
Command
Mode
Privileged mode
Usage Guide To use the log packet statistics function, run the logging count command in global configuration
mode. The show logging count command can show the information of a specific log, occurrence
times, and the last occurrence time.
You can use the show logging command to check whether the log statistics function is enabled.
Configuration
Examples
The following is the execution result of the show logging count command:
Ruijie# show logging count
Module Name Message Name Sev Occur Last Time
SYS CONFIG_I 5 1 Jul 6 10:29:57
SYS TOTAL 1
Related
Command Description