295
Outputs the suppressed log and the number of times the log is suppressed.
Outputs the different log and starts a suppression period for that log.
To enable duplicate log suppression:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable duplicate log
suppression.
info-center logging suppress
duplicates
By default, duplicate log
suppression is disabled.
Configuring log suppression for a module
Perform this task to configure a log suppression rule to suppress output of all logs or logs with a
specific mnemonic value for a module.
To configure a log suppression rule for a module:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure a log suppression
rule for a module.
info-center logging suppress
module module-name mnemonic
{
all
|
mnemonic-content
}
By default, the device does not
suppress output of any logs
from any modules.
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
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface interface-type
interface-number
N/A
3.
Disable the interface from
generating link up or link
down logs.
undo enable log updown
By default, all interfaces generate
link up and link down logs when
the interface state changes.
Summary of Contents for FlexNetwork 10500 SERIES
Page 224: ...213 ...
Page 311: ...300 Now the system can record log information to the specified file ...