我想要将探测失败的日志,发送至syslog服务器,经过模拟测试对端无法访问,但是目前根本没有产生nqa探测失败的日志。
(0)
最佳答案
V7应该有日志的
(0)
设备是version 7.1.064, Release 0821P13的,但是就是一直不弹日志。 # info-center logbuffer size 1024 info-center loghost source GigabitEthernet0/0 info-center loghost X info-center loghost X info-center loghost X facility local3 info-center loghost X facility local3 info-center source default logbuffer level notification info-center source SHELL logbuffer level error info-center source default loghost level notification # snmp-agent snmp-agent local-engineid 800063A28038A91C5F28FD00000001 snmp-agent community X snmp-agent community X snmp-agent community X snmp-agent sys-info location X snmp-agent sys-info version all snmp-agent mib-view included iso-view iso #
您好,display track all应该有一个状态是negative状态才会切换,是不是nqa检测失败,切换到另外一个静态路由之后,从另外一个静态路由让原本的nqa检测成功了
(0)
怎么在本地显示这个日志或者告警呢?
#
nqa entry admin test
type icmp-echo
destination ip 192.168.3.177
frequency 3000
history-record enable
history-record number 30
probe count 3
probe timeout 900
reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only
reaction trap probe-failure 2
source ip 192.168.3.178
#
ip route-static 10.196.128.21 255.255.255.255 192.168.3.177 track 80
#
track 80 nqa entry admin test reaction 1
#
nqa schedule admin test start-time now lifetime forever
#
#
info-center logbuffer size 1024
info-center loghost source GigabitEthernet0/0
info-center loghost X
info-center loghost X
info-center loghost X facility local3
info-center loghost X facility local3
info-center source default logbuffer level notification
info-center source SHELL logbuffer level error
info-center source default loghost level notification
#
snmp-agent
snmp-agent local-engineid 800063A28038A91C5F28FD00000001
snmp-agent community X
snmp-agent community X
snmp-agent community X
snmp-agent sys-info location X
snmp-agent sys-info version all
snmp-agent mib-view included iso-view iso
#
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
设备是version 7.1.064, Release 0821P13的,但是就是一直不弹日志。 # info-center logbuffer size 1024 info-center loghost source GigabitEthernet0/0 info-center loghost X info-center loghost X info-center loghost X facility local3 info-center loghost X facility local3 info-center source default logbuffer level notification info-center source SHELL logbuffer level error info-center source default loghost level notification # snmp-agent snmp-agent local-engineid 800063A28038A91C5F28FD00000001 snmp-agent community X snmp-agent community X snmp-agent community X snmp-agent sys-info location X snmp-agent sys-info version all snmp-agent mib-view included iso-view iso #