Routing

 View Only
last person joined: 9 hours ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  cant export routes into bgp with rib received routes

    Posted 12-08-2022 12:58
    Hello,

    I have this configuration:

    root@core-2# show routing-instances | display set
    set routing-instances AS-CORE-BACKBONE instance-type virtual-router
    set routing-instances AS-CORE-BACKBONE interface ge-0/0/1.0
    set routing-instances AS-CORE-BACKBONE protocols bgp group AS-CORE-BACKBONE type external
    set routing-instances AS-CORE-BACKBONE protocols bgp group AS-CORE-BACKBONE advertise-peer-as
    set routing-instances AS-CORE-BACKBONE protocols bgp group AS-CORE-BACKBONE export import_to_bgp
    set routing-instances AS-CORE-BACKBONE protocols bgp group AS-CORE-BACKBONE peer-as 65335
    set routing-instances AS-CORE-BACKBONE protocols bgp group AS-CORE-BACKBONE neighbor 10.10.10.2

    set routing-options interface-routes rib-group inet leak_into_instance
    set routing-options rib-groups leak_into_instance import-rib inet.0
    set routing-options rib-groups leak_into_instance import-rib AS-CORE-BACKBONE.inet.0
    set routing-options rib-groups leak_into_instance import-policy import_to_bgp

    I managed to import routes into S-CORE-BACKBONE.inet.0 and i want to export them into ebgp, however routes will be not exported.
    What I am missing?


    ------------------------------
    ALEXANDRU MINZAT
    ------------------------------


  • 2.  RE: cant export routes into bgp with rib received routes

    Posted 12-08-2022 14:34
    What are the details in the export policy import_to_bgp?

    and what are the details on a sample route active in the AS-CORE-BACKBONE routing table?

    I wonder if the protocol specifications in the policy may need some adjustments.


    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: cant export routes into bgp with rib received routes

    Posted 12-09-2022 02:29
    Hi, manage to find the problem, i forgfot to add accept statememnt in export policy for bgp,
    used the same policy as import in rib grou and it was working so i thought the policy is good.

    thanks

    ------------------------------
    ALEXANDRU MINZAT
    ------------------------------



  • 4.  RE: cant export routes into bgp with rib received routes

    Posted 12-10-2022 06:03
    Glad you have it working, thanks for the update.

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
    http://puluka.com/home
    ------------------------------