IP SLAの測定・trackと切替えdelay2 / 6
Operationとschedule
次はprobeのsource interfaceに192.0.2.10があるrouterで、198.51.100.10へ10秒ごとに測る例である。
ip sla 10
icmp-echo 198.51.100.10 source-interface GigabitEthernet0/0
threshold 500
timeout 1000
frequency 10
exit
ip sla schedule 10 life forever start-time now
frequencyは秒、thresholdとtimeoutは通常msで指定する。ここでは500msのthreshold、1000msのtimeout、10秒の測定周期を使う。thresholdに対するeventと、応答しないtimeoutを同じ値としない。operationを定義しただけでは、scheduleによる開始がなければ測定が動いていない場合がある。
probeの送信元、VRFやpacketの種類を、測りたいpathへ合わせる。通常のpingとsourceが違えば、相手のfilterや戻りrouteも変わる。計測用の相手が応答を制限する場合は、回線障害と相手の応答policyを切り分ける。