Huawei Device Information Center configuration Command

[Huawei]info-center enable // Enable Info Center functions, Default, Only enable Info Center function, To configure Info Center

[Huawei]info-center channel 1 name abc // The configuration number is 1 The name of the channel is abc123

[Huawei]display logbuffer // SeeLog Serial number of the information

[Huawei]info-center local log-counter disable // CloseLog Information counting function

[Huawei]info-center rate-limit threshold 30 // Set the threshold per second for the Info Center to process a single log at 30, Default 30

[Huawei]info-center rate-limit except byinfoid 1 // Configure logs for specific modules that are not deleted by Message Center

[Huawei]info-center statistic-suppress enable // Statistical suppression allowing continuous repetition of logs

ConfigurationLogInformation output toLogTampon

[Huawei]info-center logbuffer // ActivateLogInformation directionLogSend buffer function

[Huawei]info-center logbuffer channel 4 // ConfigurationLogInformation output toLog The channel used by the buffer, Default use4 Channel No.

[Huawei]info-center source default channel 4 log state on level warning // Configure the output to the information channel Log Information rules,

The default system is oriented towards 4 No Log channel output The message status is on, The minimum level of information is warning

[Huawei]info-center logbuffer size 512 // ConfigurationLog Buffer can contain Log Number of messages, Default is 512 Item (s)

ConfigurationLog Output of information to the log file

[Huawei]info-center logfile channel 9 // Channels used for outputting configuration information to log files, Default to channel 9

[Huawei]info-center source default channel 9 log state on level debugging // Configure the output to the information channel Log Information rules,

The default emotional system is oriented to 9 No Log channel output The message state is on, The minimum level of information is debugging

[Huawei]info-center logfile size 8 // Configure the size of the log file, The default is 8M

ConfigurationLog Output of information to the console

[Huawei]info-center console channel 0 // ConfigurationLog Channel used for outputting information to the console, Default use 0 Channel No.

[Huawei]info-center source default channel 0 log state on level warning // Configure the output to the information channel Log Information rules,

The default system is oriented towards 0 No Log channel output The message status is on, The minimum level of information is warning

terminal monitor // Function allowing the terminal to display the messages sent by the Message Center, The default display function of the console is activated, The display function of the user terminal is not activated

terminal logging // Activate the terminal display Log Information function, Default display of the terminal Log The information function is activated

ConfigurationLog Output of information to the terminal

[Huawei]info-center monitor channel 1 // ConfigurationLog Channel used for outputting information to the user terminal, Default use1 Channel No.

[Huawei]info-center source default channel 1 log state on level warning // Configure the output to the Log information channel Information rules, The system by default is oriented to 1 Output of the no Log channel The message status is on, The minimum level of information is warning

terminal monitor

terminal logging

ConfigurationLog Information output to log host (Routing between device and log host can reach)

[Huawei]info-center loghost 10.1.1.1 // Configure the output to the host log LogInformation

[Huawei]info-center source default channel 2 log state on level informational // Configure the output to the information channel Log Information rules, The system by default is oriented to 2 Output from channel no Log The status of the message is on, The minimum level of information is informational

[Huawei]info-center loghost source GigabitEthernet 0/0/1 // Configure device source interface information to send messages to log host

[Huawei]display channel 1 // See the configuration information of the information channel

[Huawei]display info-center filter-id 1 // See the information filtered by the Message Center

[Huawei]display logbuffer // ViewLog Information recorded in the buffer

.

Facebook
Twitter
LinkedIn
Pinterest
Pocket
WhatsApp

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.