Routing

last person joined: 5 days 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.  Export Policy in Jonus doesn't export all the routes

    Posted 11-05-2009 00:06
      |   view attached

     

    Hi All,

     

    I am not very experinced in Junos system and would require some help.

     

    I am trying to export all the routes learned from eBGP into the vrf export policy. I am learning around 2800 from eBGP but only exporting 600 into the vrf export policy.

    admin@srbah2-re0> show route receive-protocol bgp 194.6.15.195 table gp-vrf.inet.0 | count
    Count: 2831 lines

    {master}
    admin@srbah2-re0> show route advertising-protocol bgp 192.168.33.44 table gp-vrf.inet.0 | count
    Count: 611 lines

    below the export policy used
    admin@srbah2-re0> show configuration policy-options policy-statement gp_export
    term a {
        from protocol [ bgp static ];
        then {
            community add gp-vrf;
            accept;
        }
    }

    and also attached the configuration for the gp-vrf routing instance

    Any idea why only some routes are exported and not all routes?

    Thanks in advance.

    Regards,
    Mubarak

    Attachment(s)

    txt
    gp-config.txt   2 KB 1 version


  • 2.  RE: Export Policy in Jonus doesn't export all the routes

    Posted 11-05-2009 01:15

    Hi,

     

    could you please attach following outputs:

     

    show bgp summary

    show route hidden

     

    Please attach your entire configuration.

     

    Thanks!

     

    Kind Regards

    Michael Pergament



  • 3.  RE: Export Policy in Jonus doesn't export all the routes

    Posted 11-05-2009 01:26

    After checking the configuration I think I know what is the problem here.

     

    I just want to confirm.

     

    in the export policy is the router only export the ACTIVE  BGP routes? 

     

    Because most of the routes learned from BGP are not active ( used as a backup routes ) is this the reason why they are not advertised into the export policy?

     

    Regards,

    Mubarak



  • 4.  RE: Export Policy in Jonus doesn't export all the routes
    Best Answer

    Posted 11-05-2009 01:27

    Yes. BGP always export only active routes.

     

    Kind Regards

    Michael Pergament



  • 5.  RE: Export Policy in Jonus doesn't export all the routes

    Posted 11-05-2009 03:31

    If you really want to advertise inactive routes, Juniper created a knob for this situation, called advertise-inactive. When applied to an EBGP peering session, this knob results in the advertisement of the best BGP route that happens to be inactive because of IGP preference....