Configuration Guide Configuring Syslog
 Enabling Periodical Display of Logs on Console and Remote Terminal
logging statistic terminal
Global configuration mode
 Configuring the Periodical Logging Interval
logging statistic mnemonic mnemonic interval minutes
mnemonic: Identifies a performance statistic object.
minutes: Indicates the periodical logging interval. The unit is minute.
Global configuration mode
This command is used to configure the periodical logging interval for a specified performance statistic
object. The interval can be set to 0, 15, 30, 60, or 120 minutes. 0 indicates that periodical logging is
disabled.
Configuration Example
 Configuring Periodical Logging
It is required to configure the l periodical logging function as follows:
1. Enable the periodical logging function.
2. Enable periodical display of logs on the Console and remote terminal.
3. Set the periodical logging interval of the statistic object TUNNEL_STAT to 30 minutes.
 Configure the periodical logging function.
Ruijie# configure terminal
Ruijie(config)# logging statistic enable
Ruijie(config)# logging statistic terminal
Ruijie(config)# logging statistic mnemonic TUNNEL_STAT interval 30
 Run the show running-config | include logging statistic command to display the configuration.
 After the periodical logging timer expires, verify that logs of all performance statistic objects are
generated at the time point that is the least common multiple of the intervals of all statistic objects.
Ruijie#show running-config | include logging statistic