Routing

last person joined: 3 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.  AS path prepend not working - any ideas why?

    Posted 12-04-2014 12:02

    Ignore this.  I am running on too little sleep today.



  • 2.  RE: AS path prepend not working - any ideas why?

     
    Posted 12-04-2014 12:10

    That's because your 'ebgp-out' policy is accepting the routes, which means that no further processing occurs.

     

    You can remove the 'then accept' from that policy and replace it with 'then next policy' so that it is not automatically rejected by the next term.  I suggest reading up a bit on how policies are evaluated to get some more ideas on how to do this:

     

    http://www.juniper.net/techpubs/en_US/junos14.1/topics/concept/policy-routing-policies-chain-evaluation-method.html

     



  • 3.  RE: AS path prepend not working - any ideas why?
    Best Answer

     
    Posted 12-04-2014 12:16

    I should also mention that the default behavior of BGP is to accept routes, so even without a second policy applied to your first peer, the route will be accepted.

     

    One other thing, I don't believe your 'load-balance per-packet' is doing anything.  As far as I know, that policy action needs to be applied to the forwarding table, not in an actual routing policy for a protocol:

     

    http://www.juniper.net/techpubs/en_US/junos12.2/topics/usage-guidelines/policy-configuring-per-packet-load-balancing.html