Wednesday, October 16, 2024

华为S5720交换机把syslog输出到日志主机

# 启用信息管理功能
info-center enable

# 指定模块、通道名称、日志级别 (default指所有模块)
info-center source default channel 2 log level warning

# 指定日志输出源接口
info-center loghost source Vlanif1

# 指定要接收的日志主机,时间戳使用本地时间(默认为UTC)
info-center loghost 10.77.11.38 local-time

# 连续重复日志的统计抑制(可选)
info-center statistic-suppress enable 


# 过滤LLDP模块的RATEEXCESSIVE日志(举例)
info-center filter-id bymodule-alias LLDP RATEEXCESSIVE


参考:

https://support.huawei.com/enterprise/zh/doc/EDOC1100333362/336bd2ec
https://support.huawei.com/enterprise/zh/doc/EDOC1100407649/88520120
https://zhuanlan.zhihu.com/p/282797056


No comments:

Post a Comment

ACL的permit和deny两种含义

 permit 允许    deny 拒绝  permit 匹配    deny 不匹配