Leave a Reply 2

Your email address will not be published. Required fields are marked *


Ryan

Ryan

Incorrect Raja.
Its generated because it is “route 0/0 exact”

“Traffic which matches the generated route (and not more specific routes) will be forwarded using the same next-hop as the first contributing route.”

This means (and this is simply a general rule of routing – not specific to generated routes) that traffic matching more specific routes will be forwarded according to those more specific routes. This is where it gets a bit tricky: like aggregate routes, generated routes are active if they have at least one active contributing (ie: more specific) route. But aggregate routes rely on the more specific for forwarding, whereas generated routes do not (or else they would not be of much use).

In other words, an aggregate route will typically have many contributing routes which are the ones actually used for forwarding traffic. Generated routes will typically have fewer contributing routes (maybe 1 or 2) and it is the generated-route itself which is used for forwarding traffic (that matches the generated-route without matching the more specifics) but it derives the next-hop from the first contributing route.
http://www.juniper.net/techpubs/software/junos/junos62/swconfig62-policy/html/policy-framework-config24.html