我所有的交换机配置:
info-center enable
info-center loghost 10.0.0.1
问题是,服务器甲方的软件收不到任何的日志,明天还要现场,该怎么做测试,怎么知道日志发出去了,怎么看本地生成日志了?
(0)
查看本地日志:dis log
可以在服务器侧抓包,看看有没有收到目的端口是514的报文
(0)
能看到本地产生了多少日志,根据上述的配置,交换机应该不会不发出去的,所以我怀疑有可能是中间网络或者服务器本身的问题 <S10508-1>dis log Log buffer: Enabled Max buffer size: 1024 Actual buffer size: 512 Dropped messages: 0 Overwritten messages: 2612 Current messages: 512 %Feb 25 04:24:37:362 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is int vlan 100 %Feb 25 04:24:39:630 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is dis this %Feb 25 04:24:42:005 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is quit %Feb 25 04:24:46:860 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is int vlan 1 %Feb 25 04:24:55:635 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is bfd demand enable %Feb 25 04:25:26:818 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is ip add 192.168.253.20 24
能看出交换发出多少日志吗?如果交换没有动作是不是就不会上传日志了。
能看到本地产生了多少日志,根据上述的配置,交换机应该不会不发出去的,所以我怀疑有可能是中间网络或者服务器本身的问题 <S10508-1>dis log Log buffer: Enabled Max buffer size: 1024 Actual buffer size: 512 Dropped messages: 0 Overwritten messages: 2612 Current messages: 512 %Feb 25 04:24:37:362 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is int vlan 100 %Feb 25 04:24:39:630 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is dis this %Feb 25 04:24:42:005 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is quit %Feb 25 04:24:46:860 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is int vlan 1 %Feb 25 04:24:55:635 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is bfd demand enable %Feb 25 04:25:26:818 2019 S10508-1 SHELL/6/SHELL_CMD: -Line=vty0-IPAddr=192.168.8.3-User=**; Command is ip add 192.168.253.20 24
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明