The info-center filter-id command enables the filtering of specified logs or traps.
The undo info-center filter-id command disables the filtering of specified logs or traps.
Logs and traps are not filtered out by default.
Parameter | Description | Value |
---|---|---|
filter-id |
Specifies the ID of logs or traps to be filtered out. This parameter indicates the ID of a log or trap. If this parameter fails to be configured, the log or trap specified by this ID does not exist. |
The value is an integer ranging from 0 to 4294967295. |
bymodule-alias modname alias |
Specifies the module name or alias name of logs or traps to be filtered out. You are advised to use the module name and alias for filtering. The modname value can be obtained by running the display configuration data running table-data ModuleInfo command in the diagnostic view. The alias value can be displayed after you enter a module name. |
|
Usage Scenario
If logs or traps with the same ID are repeatedly generated, other logs or traps cannot be recorded. To filter out logs or traps of the specified ID, run the info-center filter-id command. Then logs or traps of the specified ID will not be generated and output to a destination.
Configuration Impact
Information about the filtered log or trap will be lost.
Precautions