Appearance
NQA 与静态路由联动配置
删除静态路由
bash
undo ip route-static 10.11.0.0 255.255.0.0
undo ip route-static 10.12.0.0 255.255.0.0NQA 配置
通过 ICMP Ping 探测
bash
nqa test-instance admin yb1
test-type icmp
destination-address ipv4 10.116.130.21
frequency 15
interval seconds 5
timeout 4
probe-count 2
start now配置静态路由绑定 NQA
bash
ip route-static 10.11.0.0 255.255.0.0 192.168.19.2 track nqa admin yb1
ip route-static 10.12.0.0 255.255.0.0 192.168.19.2 track nqa admin yb1通过 DNS 探测
bash
dns resolve
dns server 10.116.130.21
nqa test-instance admin yibaodns
test-type dns
destination-address url ld.yn.hsip.gov.cn
dns-server ipv4 10.116.130.21
frequency 11
timeout 4
start now验证命令
bash
display nqa history test-instance admin yb1
display nqa results test-instance admin yb1
display ip routing-table 10.116.0.0控制命令
bash
# 启动 NQA
start now
# 停止 NQA
stop
