[j-nsp] Route origination in Junos
maeve2009 at gmail.com
maeve2009 at gmail.com
Thu Jan 5 08:03:50 EST 2012
You have another options for route origination.
Set routing-options generate route x.x.x.x/x discard
Note in this case you should include the discard option for generate the route with the correct contributing route. The route will be valid if you have more specific routes matching the main route
Obviously you have to match it in a policy stament to attached it in a specific session.
Another option is using the aggregate route statement.
Enviado desde BlackBerry® de COMCEL S.A.
From: Ivan Ivanov <ivanov.ivan at gmail.com>
Sender: juniper-nsp-bounces at puck.nether.netDate: Thu, 5 Jan 2012 13:33:34
To: Affandi Indraji<affandi.indraji at gmail.com>
Cc: <juniper-nsp at puck.nether.net>
Subject: Re: [j-nsp] Route origination in Junos
You can see what you are advertising to specific neighbor with:
show route advertising-protocol bgp <neigbor ip address>
On Thu, Jan 5, 2012 at 12:41, Affandi Indraji <affandi.indraji at gmail.com>wrote:
> I understand that doing the origination from Junos is slightly different
> from Cisco.
> - configure the network statement in the "router bgp"
> - configure the null route (or as long as the routes is in the routing
> table) it will be available in the BGP routing table
> - when we do the "sh ip bgp x.x.x.x" in the cisco router where we originate
> x.x.x.x, it will be shown in the BGP routing table
> - configure discard static routes in "routing option"
> - configure the policy statement to match the prefix that we configure in
> the discard static route
> - configure the policy statement into the "export" policy to the bgp
> session that we want that origin routes to be announced
> - if we do "show route protocol bgp x.x.x.x" in the router where we
> originate the routes, we won't be able to see it int the BGP table.
> 1. Is there a way to put the routes that we originate in to the BGP routing
> table in the same router? what i mean is, if i originate
> 100.100.100.0/24from router A, i also want to see
> 100.100.100.0/24 inside the BGP table in router A too (like cisco). Is
> 2. Is there any best practice to originate routes in Junos since it behave
> differently compare to cisco?
> Thank you.
> juniper-nsp mailing list juniper-nsp at puck.nether.net
juniper-nsp mailing list juniper-nsp at puck.nether.net
More information about the juniper-nsp