Configuration Guide Configuring Syslog
Run the logging statistic enable command in global configuration mode to enable periodical uploading of logs. After this
function is enabled, the system outputs a series of performance statistics at a certain interval so that the log server can
monitor the system performance.
 Enabling Periodical Display of Logs on the Console and Remote Terminal
By default, periodical display of logs on the Console and remote terminal is disabled.
Run the logging statistic terminal command in global configuration mode to enable periodical display of logs on the
Console and remote terminal.
 Configuring the Periodical Logging Interval
By default, the periodical logging interval is 15 minutes.
Run the logging statistic mnemonic mnemonic interval minutes command in global configuration mode to configure the
periodical logging interval.
7.3.6 Syslog Monitoring
After syslog monitoring is enabled, the system monitors the access attempts of users and generates the related logs.
Working Principle
After logging of login/exit attempts is enabled, the system records the access attempts of users. The log contains user name
and source address.
After logging of operations is enabled, the system records changes in device configurations, The log contains user name,
source address, and operation.
Related Configuration
 Enabling Logging of Login or Exit Attempts
By default, a device does not generate logs when users access or exit the device.
Run the logging userinfo command in global configuration mode to enable logging of login/exit attempts. After this function
is enabled, the device displays logs when users access the devices through Telnet, SSH, or HTTP so that the administrator
can monitor the device connections.
 Enabling Logging of Operations
By default, a device does not generate logs when users modify device configurations.
Run the logging userinfo command-log command in global configuration mode to enable logging of operations. After this
function is enabled, the system displays related logs to notify the administrator of configuration changes.
7.4 Configuration