我正在尝试在我的 Cisco ISR 4321 路由器上为 HTTP 使用 IP SLA 来检查网站是否可访问。挑战在于我需要在前门 VRF 中执行此操作。我已经配置
ip name-server vrf INET 8.8.8.8
ip domain-lookup vrf INET
ip sla 10
http raw http://ifconfig.co name-server 8.8.8.8 cache disable
vrf INET
http-raw-request
GET / HTTP/1.0\r\n
exit
threshold 2
timeout 2
ip sla schedule 10 life forever start-time now
但是,结果是 DNS 错误
IPSLAs Latest Operation Summary
Codes: * active, ^ inactive, ~ pending
All Stats are in milliseconds. Stats with u are in microseconds
ID Type Destination Stats Return Last
Code Run
-----------------------------------------------------------------------
*10 http 0.0.0.0 RTT=0 DNS query e 25 seconds ag
rror o
然而,DNS 正在那个 VRF 中工作
#ping vrf INET ifconfig.co
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 104.18.39.101, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 13/18/34 ms
知道我在这里缺少什么吗?