首页 科技问答 yunyan,msr路由器做nqa track联动trap告警信息到imc不成功。

yunyan,msr路由器做nqa track联动trap告警信息到imc不成功。

科技问答 229
1676429748,

由于运营商链路中断,MSR设备本身接口不会down,造成了imc无法检测到中间链路的通断。主备路由器下联是子接口。两种方法测试均无反应。查看logbuffer只有一条源到目的up转down的记录,并没有生成trap发送给imc服务器。

测试1:

 # interface GigabitEthernet2/

 description to shilipu_nanhancun 

 bandwidth 4

 ip address 1

 qos reserved-bandwidth pct 9

 qos apply policy xiaxingqos outbound vlan-type dot1q vid 11

 bfd min-transmit-interval 5

 bfd min-receive-interval 5

 bfd detect-multiplier 3

 #

 NQA entry admin ping11 type icmp-echo 

 destination ip 1

 frequency 1

 history-record enable

 probe count 5 

 reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only

 reaction trap probe-failure 5 

 source ip 1

 # 

 nqa schedule admin ping11 start-time now lifetime forever

 # track 1 nqa entry admin ping11 reaction 1

 # snmp-agent

 snmp-agent local-engineid 8

 snmp-agent community read hebnxs&read

 snmp-agent community write hebnxs&write snmp-agent sys-info version all snmp-agent target-host trap address udp-domain 1

 snmp-agent target-host trap address udp-domain 1

 snmp-agent trap enable arp 

 snmp-agent trap enable radius 

 snmp-agent trap log 


# %Dec 11 17:16:22:144 2


测试2:

# nqa entry admin hancun type icmp-echo

 destination ip 1

 frequency 1

 history-record enable

 reaction 1 checked-element probe-fail threshold-type consecutive 5 action-type trap-only 

 reaction 3 checked-element probe-fail threshold-type consecutive 5 action-type trigger-only 

 source ip 1

 # nqa schedule admin hancun start-time now lifetime forever 

#

 track 1 nqa entry admin hancun reaction 1

 track 2 nqa entry admin hancun reaction 3 

#

 %Dec 12 11:

组网及组网描述:


2

这个配置中需要增加一个配置

 reaction 2 checked-element probe-fail threshold-type consecutive 5 action-type trap-only  

可以参考下面的案例

http://kms.h3c.com/View.aspx?id=44431

2

测试1加上这条?我就是按照这个案例的两个解决办法做的,没有成功。

yunyan 发表时间:2

CRM论坛(CRMbbs.com)——一个让用户更懂CRM的垂直性行业内容平台,CRM论坛致力于互联网、客户管理、销售管理、SCRM私域流量内容输出5年。 如果您有好的内容,欢迎向我们投稿,共建CRM多元化生态体系,创建CRM客户管理一体化生态解决方案。,msr路由器做nqa track联动trap告警信息到imc不成功。