Syntax delta — static route (VyOS)
- Routing
- Beginner
- 5 min
- 1 steps
- VyOS
The VyOS variant. Two-phase commit with hierarchical set; CIDR notation; the prefix is the path key.
Open this lab in your browser →
Free · no install · no account
Scenario
Same task. VyOS forked from Vyatta-Core, which influenced (and was influenced by) Junos's two-phase model — so the rhythm is similar but the hierarchy paths differ. VyOS uses protocols static route <prefix> next-hop <ip> (vs Junos's routing-options static route ...).
Topology
1 × router · VyOS
vyos-r1— router
What you will do
Enter cfg shell with
configure, stageset protocols static route 10.99.0.0/16 next-hop 10.0.0.2, thencommit.
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 (Juniper Junos)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 (VyOS)Delta de sintaxis — ruta estática (VyOS)Delta de sintaxe — rota estática (VyOS)Delta de syntaxe — route statique (VyOS)Syntax delta — static route (VyOS)语法差异 — 静态路由(VyOS)Delta di sintassi — rotta statica (VyOS)シンタックスの差分 — 静的ルート(VyOS)문법 차이 — 정적 경로 (VyOS)Различия синтаксиса — статический маршрут (VyOS)Söz dizimi farkı — statik rota (VyOS)Khác biệt cú pháp — định tuyến tĩnh (VyOS)