Object trackingを利用することで特定のルート情報があるかどうかにより、ルーティングを変更することが可能です。R1, R2, R4はそれぞれF0/0で124.124.124.0/24のネットワークで接続されています。R1はR3にシリアルケーブルで直結(13.13.13.0/24)、R2もR3にシリアルケーブルで直結(23.23.23.0/24)しています。
R1(config-if)#do sh ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 124.124.124.1 YES manual up up
Loopback0 17.17.1.1 YES NVRAM up up
R2(config-if)#do sh ip int b
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 124.124.124.2 YES manual up up
Serial1/2 23.23.23.2 YES manual up up
Loopback0 17.17.2.2 YES NVRAM up up
R4(config-if)#do sh ip int b
Interface IP-Addres