将 OpenConfig 系统模型命令映射到 Junos 配置
请参阅 OpenConfig 数据模型版本 主题,了解瞻博网络 ACX 系列、MX 系列和 PTX 系列的数据模型支持的版本及其 Junos OS 或 Junos Evolved OS 版本。
下表显示了 OpenConfig 系统命令与 Junos OS 中相关配置的映射:
命令名称 |
OpenConfig 配置 |
Junos 配置 |
---|---|---|
超时 |
openconfig-system:system { ssh-server { config { timeout <>; } } } |
system { services { ssh { client-alive-count-max 1; client-alive-interval <>; } } } |
OpenConfig |
||
会话限制 |
openconfig-system:system { ssh-server { config { session-limit <>; } } }
|
system { services { ssh { connection-limit <>; } } }
|
OpenConfig |
||
速率限制 |
openconfig-system:system { ssh-server { config { rate-limit <>; } } } |
system { services { ssh { rate-limit <>; } } } |
OpenConfig |
||
协议版本 |
openconfig-system:system { ssh-server { config { protocol-version <>; } } } |
system { services { ssh { protocol-version <>; } } } |
OpenConfig |
||
使 |
openconfig-system:system { ssh-server { config { enable <>; } } } |
system { services { ssh { ………. } } } |
OpenConfig |
命令名称 |
OpenConfig 配置 |
Junos 配置 |
---|---|---|
喜欢 |
openconfig-system:system { ntp { servers { server <> { config { prefer <>; } } } } } |
system { ntp { server <> prefer; } } |
当 OpenConfig |
||
版本 |
openconfig-system:system { ntp { servers { server <> { config { version <>; } } } } } |
system { ntp { server <> version <>; } } |
OpenConfig NTP |
||
港口 |
openconfig-system:system { ntp { servers { server <> { config { port <>; } } } } } |
不支持。 |
Junos OS 没有 NTP 服务器端口的参数,而是始终在端口 |
||
启用 |
openconfig-system:system { ntp { config { enabled <>; } } } |
system { ntp { ……… } } |
OpenConfig |