Mapping OpenConfig BGP 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 MX Series, PTX Series, and QFX Series.
Table 1 to Table 15 show the mapping of OpenConfig BGP commands with the relevant configuration in Junos.
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /network-instances/network-instance/protocols/protocol/bgp/global |
||
As |
|
|
Router-ID |
|
|
Confederation |
|
|
Always-Compare-MED |
|
|
Ignore-AS-Path-Length |
|
|
Enable-AIGP |
|
|
Ignore-Nexthop-IGP-Metric |
|
Not supported |
Dynamic-Neighbor-Prefixes |
|
|
Graceful-Restart |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
Set the values for address family: protocol/bgp/global/afi-safi/afi-safi/ <afi-safi-name>/<family-type>/config |
||
Where, afi-safi-name is one of the following:
|
||
Where, family-type is one of the following:
|
||
AFI-SAFI |
|
|
Add-Path: Send |
|
|
Add-Paths: Receive |
|
|
Add-Paths: Send-Max |
Note:
You must set send-max to non-zero value before setting send to true. If not, you will receive an error message to set the correct values. |
|
Add-Paths: Eligible Prefix Policy |
|
|
Always-Compare-MED |
|
|
Ignore-AS-Path-Length |
|
|
Enable-AIGP |
|
|
Use-Multiple-Paths: Maximum-Paths |
|
|
Use-Multiple-Paths: Allow-Multiple-AS |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Send-Default-Route |
|
Not supported |
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Send-Default-Route |
|
Not supported |
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix:
|
||
Max-Prefixes |
|
|
Prevent-Teardown |
|
|
Shutdown-Threshold-PCT |
|
|
Restart-Timer |
|
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /network-instances/network-instance/ protocols/protocol/bgp/peer-groups/ peer-group |
||
Peer-Group-Name |
|
|
Peer-AS |
|
|
Peer-Type |
|
|
Auth-Password |
|
|
Remove-Private-AS |
|
|
Route-Flap-Damping |
|
|
Send-Community |
|
Not supported |
Description |
|
|
Timers: Connect-Retry |
|
|
Timers: Hold-Time |
|
|
Timers: Keepalive-Interval |
|
Not supported |
Timers: Minimum-Advertisement-Interval |
|
|
Timers: Send-Update-Delay |
|
Not supported |
Transport: TCP-MSS |
|
|
Transport: MTU-Discovery |
|
|
Transport: Passive-Mode |
|
|
Transport: Local-Address |
|
|
Error-Handling: Treat-AS-Withdraw |
|
|
Logging-Options: Log-Neighbor-State-Changes |
|
|
EBGP-Multihop: MultiHop-TTL |
|
|
Route-Reflector: Route-Reflector-Cluster-ID |
|
|
Route-Reflector: Route-Reflector-Client |
|
|
AS-Path-Options: Allow-Own-AS |
|
|
AS-Path-Options: Replace-Peer-AS |
|
|
AS-Path-Options: Disable-Peer-As-Filter |
|
|
AFI-SAFI |
|
|
Graceful-Restart |
|
Supported. See Table 1. |
Apply-Policy |
|
Supported. See Table 14. |
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /network-instances/network-instance/ protocols/protocol/bgp/peer-groups/ peer-group/apply-policy |
||
Import-Policies |
|
|
Default-Import-Policy |
|
|
Export-Policies |
|
|
Default-Export-Policy |
|
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /network-instances/network-instance/ protocols/protocol/bgp/neighbors/ neighbor |
||
Neighbor-Address |
|
|
Peer-AS |
|
|
Peer-Type |
|
|
Auth-Password |
|
|
Remove-Private-AS |
|
|
Route-Flap-Damping |
|
|
Send-Community |
|
Not supported |
Description |
|
|
Peer-Group |
|
|
Timers – Connect-Retry |
|
|
Timers – Hold-Time |
|
|
Timers - Keepalive-Interval |
|
Not supported |
Timers – Minimum-Advertisement-Interval |
|
|
Timers - Send-Update-Delay |
|
Not supported |
Transport – TCP-MSS |
|
|
Transport – MTU-Discovery |
|
|
Transport – Passive-Mode |
|
|
Transport – Local-Address |
|
|
Error-Handling – Treat-AS-Withdraw |
|
|
Logging-Options – Log-Neighbor-State-Changes |
|
|
EBGP-Multihop – Multihop-TTL |
|
|
Route-Reflector – Route-Reflector-Cluster-ID |
|
|
Route-Reflector – Route-Reflector-Client |
|
|
AS-Path-Options – Allow-Own-AS |
|
|
AS-Path-Options – Replace-Peer-AS |
|
|
AS-Path-Options – Disable-Peer-As-Filter |
|
|
AFI-SAFI |
|
|
Graceful-Restart |
|
Supported. See Table 1. |
Apply-Policy |
|
Supported. See Table 16. |
Command Name |
OpenConfig Command Path |
Junos Configuration |
---|---|---|
Command path prefix: /network-instances/network-instance/protocols/ protocol/bgp/neighbors/neighbor/apply-policy |
||
Import-Policies |
|
|
Default-Import-Policy |
|
|
Export-Policies |
|
|
Default-Export-Policy |
|