HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference

238
The configuration made by this command cannot survive a reboot or an active/standby switchover.
(MSR4000.)
Examples
# Create a directory named test under the root directory cfa0.
<Sysname> mkdir test
Creating directory cfa0:/test... Done.
# Set the directory to save the log file to cfa0:/test.
<Sysname> system-view
[Sysname] info-center logfile directory cfa0:/test
Related commands
info-center logfile enable
info-center logging suppress duplicates
Use info-center logging suppress duplicates to enable duplicate log suppression.
Use undo info-center logging suppress duplicate to restore the default.
Syntax
info-center logging suppress duplicates
undo info-center logging suppress duplicates
Default
Duplicate log suppression is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Outputting consecutive duplicate logs at an interval of less than 30 seconds wastes system and network
resources, making it difficult for network administrators to locate useful information and maintain the
device.
With this feature enabled, the system starts a suppression period when outputting a new log:
During the suppression period, the system does not output logs with the same module name, level,
mnemonic, location, and text as the previous log.
After the suppression period expires, if the same log continues to appear, the system outputs the
suppressed logs and the log number and starts another suppression period. The suppression period
is 30 seconds the first time, 2 minutes the second time, and 10 minutes for subsequent times.
If a different log is generated during the suppression period, the system aborts the current
suppression period, outputs suppressed logs and the log number and then outputs the new log,
starting another suppression period.
Examples
Suppose the IP address of Vlan-interface100 on device A conflicts with that of another device on the
network, device A will output the following log information repeatedly: