Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Mapping OpenConfig BGP Commands to Junos Configuration

 Note

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.

Table 1: Global BGP Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

/network-instances/network-instance/protocols/protocol/bgp/global

As

/config/as

set routing-options autonomous-system as_number

Router-ID

/config/router-id

set routing-options router-id router-id

Confederation



/confederation/config/identifier

/confederation/config/member-as

set routing-options confederation confederation_as

set routing-options confederation members value

Always-Compare-MED

/route-selection-options/config/always-compare-med

set protocols bgp path-selection always-compare-med

Ignore-AS-Path-Length

/route-selection-options/config/ignore-as-path-length

set protocols bgp path-selection as-path-ignore

Enable-AIGP

/route-selection-options/config/enable-aigp

set protocols bgp family family aigp

Ignore-Nexthop-IGP-Metric

/route-selection-options/config/ignore-next-hop-igp-metric

Not supported

Dynamic-Neighbor-Prefixes

/dynamic-neighbor-prefixes/dynamic-neighbor-prefix/config/prefix

/dynamic-neighbor-prefixes/dynamic-neighbor-prefix/config/peer-group

set protocols bgp group group allow ip address

Graceful-Restart

/graceful-restart/config/enabled

/graceful-restart/config/restart-time

/graceful-restart/config/stale-routes-time

/graceful-restart/config/helper-only

set protocols bgp graceful-restart disable

set protocols bgp graceful-restart restart-time restart -time

set protocols bgp graceful-restart stale-routes-time stale- routes -time

Table 2: AFI-SAFI Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/afi-safi

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi

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:

  • IPV4_LABELED_UNICAST Labeled IPv4 unicast (AFI,SAFI = 1,4)

  • IPV4_MULTICAST Base identify type for IPv4 multicast address family

  • IPV4_UNICAST IPv4 unicast (AFI,SAFI = 1,1)

  • IPV6_LABELED_UNICAST Labeled IPv6 unicast (AFI,SAFI = 2,4)

  • IPV6_MULTICAST Base identify type for IPv6 multicast address family

  • IPV6_UNICAST IPv6 unicast (AFI,SAFI = 2,1)

  • L2VPN_EVPN BGP MPLS Based Ethernet VPN (AFI,SAFI = 25,70)

  • L2VPN_VPLS BGP-signalled VPLS (AFI,SAFI = 25,65)

  • L3VPN_IPV4_MULTICAST Multicast IPv4 MPLS L3VPN (AFI,SAFI = 1,129)

  • L3VPN_IPV4_UNICAST Unicast IPv4 MPLS L3VPN (AFI,SAFI = 1,128)

  • L3VPN_IPV6_MULTICAST Multicast IPv6 MPLS L3VPN (AFI,SAFI = 2,129)

  • L3VPN_IPV6_UNICAST Unicast IPv6 MPLS L3VPN (AFI,SAFI = 2,128)

Where, family-type is one of the following:

  • ipv4-labeled-unicast IPv4 Labeled Unicast configuration options

  • ipv4-unicast IPv4 unicast configuration options

  • ipv6-labeled-unicast IPv6 Labeled Unicast configuration options

  • ipv6-unicast IPv6 unicast configuration options

  • l2vpn-evpn BGP EVPN configuration options

  • l2vpn-vpls BGP-signalled VPLS configuration options

  • l3vpn-ipv4-multicast Multicast IPv4 L3VPN configuration options

  • l3vpn-ipv4-unicast Unicast IPv4 L3VPN configuration options

  • l3vpn-ipv6-multicast Multicast IPv6 L3VPN configuration options

  • l3vpn-ipv6-unicast Unicast IPv6 L3VPN configuration options

AFI-SAFI

/config/afi-safi-name

/config/enabled

set protocols bgp family family

Add-Path: Send

/add-paths/config/send

set protocols bgp group group-name family family add-path send path-count number

Add-Paths: Receive

/add-paths/config/receive

set protocols bgp group group-name family family add-path receive

Add-Paths: Send-Max

/add-paths/config/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.

set protocols bgp group group-name family family add-path send path-count path-count

Add-Paths: Eligible Prefix Policy

/add-paths/config/eligible-prefix-policy

set protocols bgp group group-name family family add-path send prefix-policy policy

Always-Compare-MED

/route-selection-options/config/always-compare-med

set protocols bgp path-selection always-compare-med

Ignore-AS-Path-Length

/route-selection-options/config/ignore-as-path-length

set protocols bgp path-selection as-path-ignore

Enable-AIGP

/route-selection-options/config/enable-aigp

set protocols bgp family family aigp

Use-Multiple-Paths: Maximum-Paths

/use-multiple-paths/ebgp/config/maximum-paths

/use-multiple-paths/ibgp/config/maximum-paths

set chassis maximum-ecmp <num-next-hops>

Use-Multiple-Paths: Allow-Multiple-AS

/use-multiple-paths/ebgp/config/allow-multiple-as

set protocols bgp group group-name multipath multiple-as

Table 3: AFI-SAFI IPv4-Unicast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/ipv4-unicast

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv4-unicast

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv4-unicast

Send-Default-Route

/config/send-default-route

Not supported

Max-Prefixes

/prefix-limit/config/max-prefixes

set protocols bgp family inet unicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/prefix-limit/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/prefix-limit/config/shutdown-threshold-pct

set protocols bgp family inet unicast accepted-prefix-limit teardown limit-threshold

Restart-Timer

/prefix-limit/config/restart-timer

set protocols bgp family inet unicast accepted-prefix-limit teardown idle-timeout timeout

Table 4: AFI-SAFI IPv6-Unicast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/ipv6-unicast

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv6-unicast

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv6-unicast

Send-Default-Route

/config/send-default-route

Not supported

Max-Prefixes

/prefix-limit/config/max-prefixes

set protocols bgp family inet6 unicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/prefix-limit/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/prefix-limit/config/shutdown-threshold-pct

set protocols bgp family inet6 unicast accepted-prefix-limit teardown limit-threshold

Restart-Timer

/prefix-limit/config/restart-timer

set protocols bgp family inet6 unicast accepted-prefix-limit teardown idle-timeout timeout

Table 5: AFI-SAFI IPv4-Lbl-Unicast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/ipv4-labelled-unicast/

    prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv4-labelled-unicast/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv4-labelled-unicast/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family inet labeled-unicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family inet labeled-unicast accepted-prefix-limit teardown limit-threshold

Restart-Timer

/config/restart-timer

set protocols bgp family inet labeled-unicast accepted-prefix-limit teardown idle-timeout timeout

Table 6: AFI-SAFI IPv6-Lbl-Unicast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/ipv6-labelled-unicast/

    prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv6-labelled-unicast/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    ipv6-labelled-unicast/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family inet6 labeled-unicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family inet6 labeled-unicast accepted-prefix-limit teardown limit-threshold

Restart-Timer

/config/restart-timer

set protocols bgp family inet6 labeled-unicast accepted-prefix-limit teardown idle-timeout timeout

Table 7: AFI-SAFI L3VPN-IPv4-Ucast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/l3vpn-ipv4-unicast/

    prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv4-unicast/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv4-unicast/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family inet-vpn unicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family inet-vpn unicast accepted-prefix-limit teardown limit-threshold

Restart-Timer

/config/restart-timer

set protocols bgp family inet-vpn unicast accepted-prefix-limit teardown idle-timeout timeout

Table 8: AFI-SAFI L3VPN-IPv6-Ucast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/

    l3vpn-ipv6-unicast/prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv6-unicast/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/neighbor/

    afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv6-unicast/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family inet6-vpn unicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family inet6-vpn unicast accepted-prefix-limit teardown limit-threshold

Restart-Timer

/config/restart-timer

set protocols bgp family inet6-vpn unicast accepted-prefix-limit teardown idle-timeout timeout

Table 9: AFI-SAFI L3VPN-IPv4-Mcast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/

    l3vpn-ipv4-multicast/prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv4-multicast/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv4-multicast/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family inet-vpn multicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family inet-vpn multicast accepted-prefix-limit maximum maximum

Restart-Timer

/config/restart-timer

set protocols bgp family inet-vpn multicast accepted-prefix-limit teardown idle-timeout timeout

Table 10: AFI-SAFI L3VPN-IPv6-Mcast Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/

    l3vpn-ipv6-multicast/prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv6-multicast/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    l3vpn-ipv6-multicast/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family inet6-vpn multicast accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family inet6-vpn multicast accepted-prefix-limit teardown limit-threshold

Restart-Timer

/config/restart-timer

set protocols bgp family inet6-vpn multicast accepted-prefix-limit teardown idle-timeout timeout

Table 11: AFI-SAFI L2VPN-VPLS Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/l2vpn-vpls/

    prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    l2vpn-vpls/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    l2vpn-vpls/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family l2vpn signaling accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family l2vpn signaling accepted-prefix-limit teardown limit-threshold

Restart-Timer

/config/restart-timer

set protocols bgp family l2vpn signaling accepted-prefix-limit teardown idle-timeout timeout

Table 12: AFI-SAFI L2VPN-EVPN Prefix-Limit Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

  • Global—/network-instances/network-instance/

    protocols/protocol/bgp/global/afi-safi/

    afi-safi-name/<afi-safi-name>/l2vpn-evpn/

    prefix-limit

  • Peer-Group—/network-instances/network-instance/

    protocols/protocol/bgp/peer-groups/

    peer-group/afi-safi/afi-safi-name/<afi-safi-name>/

    l2vpn-evpn/prefix-limit

  • Neighbors—/network-instances/network-instance/

    protocols/protocol/bgp/neighbors/

    neighbor/afi-safi/afi-safi-name/<afi-safi-name>/

    l2vpn-evpn/prefix-limit

Max-Prefixes

/config/max-prefixes

set protocols bgp family evpn signaling accepted-prefix-limit maximum maximum

Prevent-Teardown

/config/prevent-teardown

set protocols bgp family family prefix-limit teardown

Shutdown-Threshold-PCT

/config/shutdown-threshold-pct

set protocols bgp family evpn signaling accepted-prefix-limit teardown limit-threshold

Restart-Timer

/config/restart-timer

set protocols bgp family evpn signaling accepted-prefix-limit teardown idle-timeout timeout

Table 13: Peer-Group Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

/network-instances/network-instance/

protocols/protocol/bgp/peer-groups/

peer-group

Peer-Group-Name

/config/peer-group-name

set protocols bgp group group-name

Peer-AS

/config/peer-as

set protocols bgp group group-name peer-as peer-as

Peer-Type

/config/peer-type

set protocols bgp group group-name type <external | internal>

Auth-Password

/config/auth-password

set protocols bgp group group-name authentication-key authentication-key

Remove-Private-AS

/config/remote-private-as

set protocols bgp group group-name remove-private all



set protocols bgp group group-name remove-private all replace

Route-Flap-Damping

/config/route-flap-damping

set protocols bgp group group-name damping

Send-Community

/config/send-community

Not supported

Description

/config/description

set protocols bgp group group-name description description

Timers: Connect-Retry

/timers/config/connect-retry

set protocols bgp group group-name connect-retry-interval connect-retry

Timers: Hold-Time

/timers/config/hold-time

set protocols bgp group group-name hold-time hold-time

Timers: Keepalive-Interval

/timers/config/keepalive-interval

Not supported

Timers: Minimum-Advertisement-Interval

/timers/config/minimum-advertisement-interval

set protocols bgp group group-name out-delay out-delay

Timers: Send-Update-Delay

/timers/config/send-update-delay

Not supported

Transport: TCP-MSS

/transport/config/tcp-mss

set protocols bgp group group-name tcp-mss tcp-mss

Transport: MTU-Discovery

/transport/config/mtu-discovery

set protocols bgp group group-name mtu-discovery

Transport: Passive-Mode

/transport/config/passive-mode

set protocols bgp group group-name passive

Transport: Local-Address

/transport/config/local-address

set protocols bgp group group-name local-address local-address

Error-Handling: Treat-AS-Withdraw

/error-handling/config/treat-as-withdraw

set protocols bgp group group-name bgp-error-tolerance

Logging-Options: Log-Neighbor-State-Changes

/logging-options/config/

log-neighbor-state-changes

set protocols bgp group group-name log-updown

EBGP-Multihop: MultiHop-TTL

/ebgp-multihop/config/multihop-ttl

set protocols bgp group group-name multihop ttl ttl

Route-Reflector: Route-Reflector-Cluster-ID

/route-reflector/config/route-reflector-cluster-id

set protocols bgp group group-name cluster cluster

Route-Reflector: Route-Reflector-Client

/route-reflector/config/route-reflector-client

set protocols bgp group group-name no-client-reflect

AS-Path-Options: Allow-Own-AS

/as-path-options/config/allow-own-as

set protocols bgp group group-name local-as loops loops

AS-Path-Options: Replace-Peer-AS

/as-path-options/config/replace-peer-as

set protocols bgp group group-name as-override

AS-Path-Options: Disable-Peer-As-Filter

/as-path-options/config/disable-peer-as-filter

set protocols bgp group group-name advertise-peer-as

AFI-SAFI

/afi-safis/afi-safi/

Supported. See Table 2 to Table 12

Graceful-Restart

/graceful-restart/config/

Supported. See Table 1.

Apply-Policy

/apply-policy/

Supported. See Table 14.

Table 14: Peer-Group Apply-Policy Configuration

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

/import-policies

set protocols bgp import value

Default-Import-Policy

/default-import-policy

Export-Policies

/export-policies

set protocols bgp export value

Default-Export-Policy

/default-export-policy

Table 15: Neighbors Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

/network-instances/network-instance/

protocols/protocol/bgp/neighbors/

neighbor

Neighbor-Address

/config/neighbor-address

set protocols bgp group group-name neighbor address

Peer-AS

/config/peer-as

set protocols bgp group group-name neighbor address peer-as peer-as

Peer-Type

/config/peer-type

set protocols bgp group group-name type <external|internal>

Auth-Password

/config/auth-password

set protocols bgp group group-name neighbor address authentication-key authentication-key

Remove-Private-AS

/config/remote-private-as

set protocols bgp group group-name neighbor address remove-private all

set protocols bgp group group-name neighbor address remove-private all replace

Route-Flap-Damping

/config/route-flap-damping

set protocols bgp group group-name neighbor address damping

Send-Community

/config/send-community

Not supported

Description

/config/description

set protocols bgp group group-name neighbor address description

Peer-Group

/config/peer-group

set protocols bgp group group-name neighbor address

Timers – Connect-Retry

/timers/config/connect-retry

set protocols bgp group group-name neighbor address connect-retry-interval

Timers – Hold-Time

/timers/config/hold-time

set protocols bgp group group-name neighbor address hold-time hold-time

Timers - Keepalive-Interval

/timers/config/keepalive-interval

Not supported

Timers – Minimum-Advertisement-Interval

/timers/config/minimum-advertisement-interval

set protocols bgp group group-name neighbor address out-delay out-delay

Timers - Send-Update-Delay

/timers/config/send-update-delay

Not supported

Transport – TCP-MSS

/transport/config/tcp-mss

set protocols bgp group group-name neighbor address tcp-mss tcp-mss

Transport – MTU-Discovery

/transport/config/mtu-discovery

set protocols bgp group group-name neighbor address mtu-discovery

Transport – Passive-Mode

/transport/config/passive-mode

set protocols bgp group group-name neighbor address passive

Transport – Local-Address

/transport/config/local-address

set protocols bgp group group-name neighbor address local-address local-address

Error-Handling – Treat-AS-Withdraw

/error-handling/config/treat-as-withdraw

set protocols bgp group group-name neighbor address bgp-error-tolerance

Logging-Options – Log-Neighbor-State-Changes

/logging-options/config

/log-neighbor-state-changes

set protocols bgp group group-name neighbor address log-updown

EBGP-Multihop – Multihop-TTL

/ebgp-multihop/config/multihop-ttl

set protocols bgp group group-name neighbor address multihop ttl ttl

Route-Reflector – Route-Reflector-Cluster-ID

/route-reflector/config/route-reflector-cluster-id

set protocols bgp group group-name neighbor address cluster cluster

Route-Reflector – Route-Reflector-Client

/route-reflector/config/route-reflector-client

set protocols bgp group group-name neighbor address no-client-reflect

AS-Path-Options – Allow-Own-AS

/as-path-options/config/allow-own-as

set protocols bgp group group-name neighbor address local-as loops loops

AS-Path-Options – Replace-Peer-AS

/as-path-options/config/replace-peer-as

set protocols bgp group group-name neighbor address as-override

AS-Path-Options – Disable-Peer-As-Filter

/as-path-options/config/disable-peer-as-filter

set protocol bgp group group-name neighbor address advertise-peer-as

AFI-SAFI

/afi-safis/afi-safi/

Supported. See Table 2 to Table 12

Graceful-Restart

/graceful-restart/config/

Supported. See Table 1.

Apply-Policy

/apply-policy/

Supported. See Table 16.

Table 16: Neighbors Apply-Policy Configuration

Command Name

OpenConfig Command Path

Junos Configuration

Command path prefix:

/network-instances/network-instance/protocols/

protocol/bgp/neighbors/neighbor/apply-policy

Import-Policies

/import-policies

set protocols bgp import value

Default-Import-Policy

/default-import-policy

Export-Policies

/export-policies

set protocols bgp export value

Default-Export-Policy

/default-export-policy