The display info-center filter-id command displays information filtered by the information center.
Parameter | Description | Value |
---|---|---|
id | Displays filtered information with the specified ID. | The value is in hexadecimal notation and is a string of 8 digits. The value can contain 0-9, a-f, and A-F. |
bymodule-alias modname alias | Displays filtered information with the specified module
name and mnemonic symbol.
|
Enumerated type. Set the value according to the device configuration. |
ID identifies each function module for log registration. An ID filter list is the aggregation of the shielded IDs.
If id or bymodule-alias is not specified, all information is filtered.
If you do not want to output a specific log to the log file or log buffer, you can find the ID of the log in the data dictionary and run the info-center filter-id command to inject the ID into the filter list. Then, you can run the display info-center filter-id command to check whether the ID has become the one to be filtered.
<HUAWEI> display info-center filter-id
ID : 0x40394017
Module : SHELL
Alias : CMDRECORD
Content : Recorded command information. (Task=[string], Ip=[string], VpnName=[STRING], User=[string], AthenticationMethod="[STRING]", Command="[string]")
Filtered Number : 2
ID : 0x40394018
Module : SHELL
Alias : DISPLAY_CMDRECORD
Content : Recorded display command information. (Task=[string], Ip=[string], VpnName=[string], User=[string], AuthenticationMethod="[string]", Command="[string]")
Filtered Number : 1
Item |
Description |
---|---|
ID |
Identifier to which each log corresponds. To configure the Switch to filter a log or trap with a specified ID, run the info-center filter-id id command. |
Module |
Module name. To configure the Switch to filter a log or trap with a specified module name or alias name, run the info-center filter-id bymodule-alias modname alias command. |
Alias |
Alias name. To configure the Switch to filter a log or trap with a specified module name or alias name, run the info-center filter-id bymodule-alias modname alias command. |
Content |
Log message to which each log ID corresponds. |
Filtered Number |
Number of times that the log to which the log ID corresponds is filtered. |