Network labs Docs Open simulator →

Reliable static routing — track-gated default route

The professional-tier "reliable static routing" surface, end-to-end. A primary default route via INET1 is gated on track 1 (which follows IP SLA 1). A floating default via INET2 sits in the RIB at AD 200 — invisible while the primary wins, but the only candidate when the primary's track flips down. Set IpSla.forcedState: 'up'|'down' on the topology to flip between failover states; show ip route reflects which ISP currently carries the default.

Open this lab in your browser →

Free · no install · no account

Scenario

A "reliable static" pattern in three pieces: 1. ip sla 1 / icmp-echo 8.8.8.8 — defines a probe. 2. track 1 ip sla 1 reachability — turns the probe outcome into a track object. 3. ip route 0.0.0.0 0.0.0.0 10.0.1.2 track 1 — the static is gated on the track. When the track is up, the route is in the FIB (the CE has Internet access via 10.0.1.2). When the track is down, the route is withdrawn. Combined with a backup floating static (separate AD ladder, not yet supported by the simulator's RIB), this gives Cisco's classic dual-ISP failover. The gate itself — install vs withdraw based on track state — is the core mechanism, and that's what this lab walks through. Real Cisco runs the probe on a timer. The simulator skips that complexity and lets the topology pre-set IpSlaIcmpEcho.forcedState: 'up'|'down'. The solver honors forcedState directly when set; the FIB-derived reachability path is preserved when forcedState: null (the default). This gives labs a clean knob to flip between failover states.

Topology

3 × router · Cisco IOS-style

What you will do

  1. On CE, run show ip sla statistics. SLA 1's return-code should be OK (the operator-forced state is up).

  2. Run show track. Track 1's state should be Up (mirrors SLA 1).

  3. Run show ip route. With track 1 up, the AD-1 primary via 10.0.1.2 (INET1) wins; the floating AD-200 via INET2 is suppressed.

Open this lab in your browser →

More labs on this topic

This lab in other languages

Zuverlässiges statisches Routing – Track-Gated-StandardrouteEnrutamiento estático confiable: ruta predeterminada con seguimientoRoteamento estático confiável — rota padrão controlada por trilhaRoutage statique fiable — itinéraire par défaut contrôlé par la pisteविश्वसनीय स्थैतिक रूटिंग - ट्रैक-गेटेड डिफ़ॉल्ट मार्ग可靠的静态路由——轨道门控默认路由Routing statico affidabile: percorso predefinito con tracciamento信頼性の高い静的ルーティング — トラックゲートされたデフォルト ルート안정적인 정적 라우팅 - 트랙 게이트 기본 경로Надежная статическая маршрутизация — маршрут по умолчанию с отслеживанием маршрутаGüvenilir statik yönlendirme — yol geçişli varsayılan rotaĐịnh tuyến tĩnh đáng tin cậy - tuyến đường mặc định được theo dõi