由于运营商链路中断,MSR设备本身接口不会down,造成了imc无法检测到中间链路的通断。主备路由器下联是子接口。两种方法测试均无反应。查看logbuffer只有一条源到目的up转down的记录,并没有生成trap发送给imc服务器。
测试1:
# interface GigabitEthernet2/0/1.110
description to shilipu_nanhancun
bandwidth 4096
ip address 10.72.125.37 255.255.255.252
qos reserved-bandwidth pct 90
qos apply policy xiaxingqos outbound vlan-type dot1q vid 110
bfd min-transmit-interval 500
bfd min-receive-interval 500
bfd detect-multiplier 3
#
nqa entry admin ping11 type icmp-echo
destination ip 10.72.126.10
frequency 1000
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 10.72.125.37
#
nqa schedule admin ping11 start-time now lifetime forever
# track 1 nqa entry admin ping11 reaction 1
# snmp-agent
snmp-agent local-engineid 800063A2805CDD70A56B2F00000001
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 10.72.0.1 params securityname hebnxs&read v2c
snmp-agent target-host trap address udp-domain 10.72.0.30 params securityname hebnxs&read v2c snmp-agent target-host trap address udp-domain 127.0.0.1 params securityname hebnxs&read v2c
snmp-agent trap enable arp
snmp-agent trap enable radius
snmp-agent trap log
# %Dec 11 17:16:22:144 2017 HD_GP_MSR56_01 SHELL/5/SHELL_LOGOUT: gpls logged out from 10.72.0.47. %Dec 12 08:36:25:667 2017 HD_GP_MSR56_01 SHELL/5/SHELL_LOGIN: gpls logged in from 10.72.0.31. %Dec 12 08:48:31:778 2017 HD_GP_MSR56_01 CFGMAN/5/CFGMAN_CFGCHANGED: -EventIndex=85-CommandSource=snmp-COnfigSource=startup-COnfigDestination=running; Configuration changed. %Dec 12 08:58:31:778 2017 HD_GP_MSR56_01 CFGMAN/5/CFGMAN_CFGCHANGED: -EventIndex=86-CommandSource=snmp-COnfigSource=startup-COnfigDestination=running; Configuration changed. %Dec 12 09:07:00:946 2017 HD_GP_MSR56_01 SHELL/5/SHELL_LOGIN: gpls logged in from 10.72.0.47. %Dec 12 09:07:05:015 2017 HD_GP_MSR56_01 BFD/5/BFD_CHANGE_FSM: Sess[10.72.125.37/10.72.125.38, LD/RD:2057/11, Interface:N/A, SessType:Ctrl, LinkType:INET], Sta: UP->DOWN, Diag: 1 %Dec 12 09:17:10:417 2017 HD_GP_MSR56_01 SHELL/5/SHELL_LOGOUT: gpls logged out from 10.72.0.47. #
测试2:
# nqa entry admin hancun type icmp-echo
destination ip 10.72.125.38
frequency 1000
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 10.72.125.37
# 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:03:40:827 2017 HD_GP_MSR56_01 BFD/5/BFD_CHANGE_FSM: Sess[10.72.125.37/10.72.125.38, LD/RD:2057/11, Interface:N/A, SessType:Ctrl, LinkType:INET], Sta: INIT->DOWN, Diag: 1
(0)
最佳答案
这个配置中需要增加一个配置
reaction 2 checked-element probe-fail threshold-type consecutive 5 action-type trap-only
可以参考下面的案例
http://kms.h3c.com/View.aspx?id=44431
(0)
测试1加上这条?我就是按照这个案例的两个解决办法做的,没有成功。
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
测试1加上这条?我就是按照这个案例的两个解决办法做的,没有成功。