今天遇到一个问题,需要把交换机cmd下配置命令发送到syslog服务器中,H3C的info-center中配置了:
info-center source default channel 2 log state off trap state off debug state off
info-center source CMD channel 2 log informational state on trap state off
info-center loghost 172.17.82.18 channel 2
info-center loghost source Vlan-interface1
display channel看到如下:
但是这个时候的命令还是发送不到syslog服务器,一旦把default中的log开启,syslog服务器就立即收到了,这个和文档上写得不一样,是我理解得有问题吗,求大神指导下
另外还有个问题,配置中看到默认是local7,此时我syslog服务器上是local6.informational还是能收到,这个是什么原因呢 ,谢谢大家了,感觉睡觉都不开心了