Mapping OpenConfig System Model Commands to Junos Configuration
See OpenConfig Data Model Version topic to understand the data models supported version and its Junos OS or Junos Evolved OS release for Juniper Networks ACX Series, MX Series and PTX Series.
The following tables show the mapping of OpenConfig system commands with the relevant configuration in Junos OS:
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Timeout |
openconfig-system:system { ssh-server { config { timeout <>; } } } |
system { services { ssh { client-alive-count-max 1; client-alive-interval <>; } } } |
The OpenConfig |
||
Session limit |
openconfig-system:system { ssh-server { config { session-limit <>; } } } |
system { services { ssh { connection-limit <>; } } } |
The OpenConfig |
||
Rate limit |
openconfig-system:system { ssh-server { config { rate-limit <>; } } } |
system { services { ssh { rate-limit <>; } } } |
The OpenConfig |
||
Protocol version |
openconfig-system:system { ssh-server { config { protocol-version <>; } } } |
system { services { ssh { protocol-version <>; } } } |
The OpenConfig |
||
Enable |
openconfig-system:system { ssh-server { config { enable <>; } } } |
system { services { ssh { ………. } } } |
The OpenConfig |
Command Name |
OpenConfig Configuration |
Junos Configuration |
---|---|---|
Prefer |
openconfig-system:system { ntp { servers { server <> { config { prefer <>; } } } } } |
system { ntp { server <> prefer; } } |
When the OpenConfig |
||
Version |
openconfig-system:system { ntp { servers { server <> { config { version <>; } } } } } |
system { ntp { server <> version <>; } } |
The OpenConfig NTP |
||
Port |
openconfig-system:system { ntp { servers { server <> { config { port <>; } } } } } |
Not supported. |
Junos OS doesn’t have a parameter for an NTP server port, and
instead, always runs at port |
||
Enabled |
openconfig-system:system { ntp { config { enabled <>; } } } |
system { ntp { ……… } } |
The OpenConfig |