Enabling Duplicate Log Suppression; Disabling An Interface From Generating Link Up Or Link Down Logs - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Enabling duplicate log suppression

The output of consecutive duplicate logs at an interval of less than 30 seconds wastes system and network
resources.
With this feature enabled, the system starts a suppression period upon outputting a log:
During the suppression period, the system does not output logs that have 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 for the first time, 2 minutes for 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 the different log, and
starts another suppression period.
To enable duplicate log suppression:
Step
1.
Enter system view.
2.
Enable duplicate log
suppression.
Disabling an interface from generating link up or
link down logs
By default, all interfaces generate link up or link down log information when the interface state changes.
In some cases, you might want to disable certain interfaces from generating this information. For
example:
You are concerned only about the states of some interfaces. In this case, you can use this function
to disable other interfaces from generating link up and link down log information.
An interface is unstable and continuously outputs log information. In this case, you can disable the
interface from generating link up and link down log information.
Use the default setting in normal cases to avoid affecting interface status monitoring.
To disable an interface from generating link up or link down logs:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Disable the interface from
generating link up or link
down logs.
Command
system-view
info-center logging suppress
duplicates
Command
system-view
interface interface-type
interface-number
undo enable log updown
254
Remarks
N/A
By default, duplicate log
suppression is disabled.
Remarks
N/A
N/A
By default, all interfaces generate
link up and link down logs when
the interface state changes.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents