Mapping OpenConfig Local Routing Commands to Junos Configuration
See OpenConfig Data Model Version topic to understand the data models supported version and its Junos OS release for Juniper Networks ACX Series, EX Series, MX Series, PTX Series, and QFX Series.
Table 1 and Table 2 show the mapping of OpenConfig local routing commands to the relevant configuration in Junos.
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /local-routes/static-routes |
||
Note:
Supported in Junos OS Release 21.2R1 for PTX Series and MX Series. Supported in Junos Evolved OS Release 21.3R1 for PTX10003 and PTX10008 routers. Supported in Junos Evolved OS Release 21.4R1 for PTX10016 routers. Local Static Routes |
/static/next-hops/next-hop/config/metric | set routing-options static route
prefix qualified-next-hop
nexthop metric
value |
Local Static Prefix |
|
|
Local Static Next Hop |
|
|
Local Static Tag |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /local-routes/local-aggregates |
||
Local Aggregate Prefix |
|
|
Local Aggregate Discard |
|
|
Local Aggregate Tag |
|
|