在思科设备上,您可以使用思科IP SLA。您需要首先配置并启用它,然后监视结果。
脚步:
1. ip sla monitor operation-number
2. type echo protocol ipIcmpEcho {destination-ip-address | destination-hostname} [source-ipaddr {ip-address | hostname} | source-interface interface-name]
3. frequency seconds
4. ip sla monitor schedule operation-number [life {forever | seconds}] [start-time {hh:mm[:ss] [month day | day month] | pending | now | after hh:mm:ss] [ageout seconds] [recurring]
配置示例来自思科:IP SLA-使用ICMP Echo操作分析IP服务级别。
Router> enable
Router# configure terminal
Router(config)# ip sla monitor 10
Router(config-sla-monitor)# type echo protocol ipIcmpEcho 172.29.139.134
Router(config-sla-monitor-echo)# frequency 300
Router(config-sla-monitor-echo)# exit
Router(config)# ip sla monitor schedule 10 start-time now life forever
监视:
show ip sla monitor statistics