In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Huasan network equipment information level has a total of 8 levels, from high to bottom are emergencies/alerts/critical/errors/warnings/notifications/infomational/debugging.
Information level numerical description of emergencies0 system unavailable information
Information that alerts1 needs to respond immediately critical2 serious information errors3 error message warnings4 warning message notifications5 appears normally but important information infomational6 needs to record notification information debugging7 debugging process produces information
Here I will only sort out a few configuration commands that must or are often used to configure log hosts on the switch.
Info-center enable
Info-center source default channel loghost debug state off log state off trap state off
Info-center source default channel loghost log level informational state on / / send log logs at or above information level
The above two commands can configure the specified log module and send the specified log level. The above example is all modules (default).
Info-center timestamp loghost no-year-date / / the log format does not display the year
This command selects the format of the log timestamp.
Info-center loghost host-ipv4-address port port-number facility local7
This command sets the address and port of the log server, and the facility command sets the device information for log classification on the log server.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.