Syntax delta — static route (Juniper Junos)
- Routing
- Beginner
- 5 min
- 1 steps
- Junos-style
The Junos variant of "install a static route to 10.99.0.0/16 via 10.0.0.2." Hierarchical set with a commit to apply.
Open this lab in your browser →
Free · no install · no account
Scenario
Same task as the IOS lab — install a static route — but in Junos's hierarchical set idiom. Watch the differences: - CIDR notation instead of dotted mask. - Hierarchical path in the candidate config: routing-options static route <prefix> next-hop <ip>. - Two-phase commit: the line stages in the candidate; commit applies it.
Topology
1 × router · Junos-style
jnx1— router
What you will do
Stage
set routing-options static route 10.99.0.0/16 next-hop 10.0.0.2from cfg-mode and commit.
Open this lab in your browser →
More labs on this topic
- Syntax delta — static route (Extreme EXOS)Beginner · 4 min
- Syntax delta — static route (Cisco IOS)Beginner · 4 min
- Syntax delta — static route (VyOS)Beginner · 5 min
- Static routes — fix hub-and-spokeBeginner · 12 min
- Static routes — egress-interface form (point-to-point)Beginner · 8 min
- EIGRP: AS 100 across a three-router chainIntermediate · 14 min
This lab in other languages
Syntax-Delta — statische Route (Juniper Junos)Delta de sintaxis — ruta estática (Juniper Junos)Delta de sintaxe — rota estática (Juniper Junos)Delta de syntaxe — route statique (Juniper Junos)Syntax delta — static route (Juniper Junos)语法差异——静态路由(Juniper Junos)Delta di sintassi — rotta statica (Juniper Junos)シンタックスの差分 — 静的ルート(Juniper Junos)문법 차이 — 정적 경로 (Juniper Junos)Различия синтаксиса — статический маршрут (Juniper Junos)Söz dizimi farkı — statik rota (Juniper Junos)Khác biệt cú pháp — định tuyến tĩnh (Juniper Junos)