配置如下:
nqa entry 1 2182
type icmp-echo
description ip 1.1.1.1
frequency 15000
history-record enable
probe count 5
reaction 1 checked-element probe-fail threshold-type accumulate 5 action-type trigger-only
reaction trap probe-failure 5
reaction trap test-complete
reaction trap test-failure 5
quit
nqa schedule 1 2182 start-time now lifetime forever
这样配置对吗?
reaction 1 checked-element probe-fail threshold-type accumulate 5 action-type 后面应该是 trigger-only(触发其他模块联动) 还是trap-only(向网管发送)
(0)
最佳答案
您好,请知:
目的IP地址的配置写错了,description ip 1.1.1.1 中的description这个是描述的命令,应该用的是destination
参考NQA配置如下:
[SW2]nqa agent enable
[SW2]nqa entry weijianing ninglihua
[SW2-nqa-weijianing-ninglihua]type icmp-echo
[SW2-nqa-weijianing-ninglihua-icmp-echo]source int GigabitEthernet 1/0/1
[SW2-nqa-weijianing-ninglihua-icmp-echo]destination ip 10.0.0.2
[SW2-nqa-weijianing-ninglihua-icmp-echo]frequency 100000
[SW2-nqa-weijianing-ninglihua-icmp-echo]probe timeout 30
[SW2-nqa-weijianing-ninglihua-icmp-echo]next-hop 10.0.0.2
[SW2-nqa-weijianing-ninglihua-icmp-echo] history-record enable
[SW2-nqa-weijianing-ninglihua-icmp-echo]history-record number 50
[SW2-nqa-weijianing-ninglihua-icmp-echo]probe count 10
[SW2-nqa-weijianing-ninglihua-icmp-echo]probe timeout 30
[SW2-nqa-weijianing-ninglihua-icmp-echo]reaction 1 checked-element probe-fail threshold-type consecutive 1 action-type trigger-only
[SW2-nqa-weijianing-ninglihua-icmp-echo]route-option bypass-route
[SW2]track 1 nqa entry weijianing ninglihua reaction 1
[SW2]nqa schedule weijianing ninglihua start-time now lifetime forever
(0)
主要是想知道如果action-type后面是trap-only是不是就不需要track 1 nqa entry weijianing ninglihua reaction 1了,我在模拟器上敲 action-type后买你只有trap-only和none 没有trigger-only
description ip 1.1.1.1
应该是配置为destination ip 1.1.1.1
(0)
主要是想知道如果action-type后面是trap-only是不是就不需要track 1 nqa entry weijianing ninglihua reaction 1了,我在模拟器上敲 action-type后买你只有trap-only和none 没有trigger-only
主要是想知道如果action-type后面是trap-only是不是就不需要track 1 nqa entry weijianing ninglihua reaction 1了,我在模拟器上敲 action-type后买你只有trap-only和none 没有trigger-only
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
主要是想知道如果action-type后面是trap-only是不是就不需要track 1 nqa entry weijianing ninglihua reaction 1了,我在模拟器上敲 action-type后买你只有trap-only和none 没有trigger-only