网络实验 文档 打开模拟器 →

语法差异——静态路由(Juniper Junos)

「为 10.99.0.0/16 安装一条经 10.0.0.2 的静态路由」的 Junos 变体。层级化的 set 加一个 commit 来应用。

在浏览器中打开本实验 →

免费 · 无需安装 · 无需注册

场景

与 IOS 实验相同的任务——安装一条静态路由——但使用 Junos 的 层级化 set 风格。注意差异: - 使用 CIDR 写法,而不是点分掩码。 - 候选配置中的层级路径:routing-options static route <prefix> next-hop <ip>。 - 两阶段提交:该行先暂存在候选配置中,由 commit 应用。

拓扑

1 × 路由器 · Junos-style

你将完成的任务

  1. 在 cfg-mode 下暂存 set routing-options static route 10.99.0.0/16 next-hop 10.0.0.2,然后 commit。

在浏览器中打开本实验 →

同主题的更多实验

本实验的其他语言版本

Syntax delta — static route (Juniper Junos)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)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)