将 OpenConfig 系统管理模型命令映射到 Junos 配置
注意:
请参阅 OpenConfig 数据模型版本 主题,了解瞻博网络 MX 系列和 PTX 系列的数据模型支持的版本及其 Junos OS 版本。
下表显示了 OpenConfig 系统管理配置与 Junos OS 中相关配置的映射。
| 命令名称 |
OpenConfig 配置 |
Junos 配置 |
|---|---|---|
| 搜索 |
openconfig-system:system {
dns {
config {
search [ <> … ];
}
}
}
|
system {
domain-search [<> …];
}
|
| OpenConfig DNS |
||
| 命令名称 |
OpenConfig 配置 |
Junos 配置 |
|---|---|---|
| 域名 |
openconfig-system:system {
config {
domain-name <>;
}
}
|
system {
domain-name <>;
}
|
| OpenConfig |
||
| 命令名称 |
OpenConfig 配置 |
Junos 配置 |
|---|---|---|
| 主机名 |
openconfig-system:system {
config {
hostname <>;
}
}
|
system {
host-name <>;
}
}
|
| OpenConfig |
||
| 命令名称 |
OpenConfig 配置 |
Junos 配置 |
|---|---|---|
| 登录横幅 |
openconfig-system:system {
config {
login-banner <>;
}
}
|
system {
login {
message <>;
}
}
|
| OpenConfig DNS |
||
| 命令名称 |
OpenConfig 配置 |
Junos 配置 |
|---|---|---|
| 莫德横幅 |
openconfig-system:system {
config {
motd-banner <>;
}
}
|
system {
login {
announcement <>;
}
}
|
| OpenConfig |
||
| 命令名称 |
OpenConfig 配置 |
Junos 配置 |
|---|---|---|
| 时区 |
openconfig-system:system {
clock {
config {
timezone-name <>;
}
}
}
|
system {
time-zone <>;
}
|
| OpenConfig |
||
| 命令名称 |
OpenConfig 配置 |
Junos 配置 |
|---|---|---|
| 路由 MAC |
openconfig-system:system {
mac-address {
config {
routing-mac <>;
}
}
}
|
chassis {
local-station-mac <>;
}
|
| 用于配置整个机箱的 MAC 地址。 |
||