[j-nsp] Route origination in Junos

Daniel Hilj daniel.hilj at ipnett.se
Thu Jan 5 07:01:20 EST 2012


For i.e L3vpn you can also have a look in bgp.l3vpn.0 where you will see all bgp routes including RD's etc.

show route table bgp.l3vpn.0 


Best Regards

Daniel


5 jan 2012 kl. 12:35 skrev "Ivan Ivanov" <ivanov.ivan at gmail.com>:

> HI,
> 
> You can see what  you are advertising to specific neighbor with:
> 
> show route advertising-protocol bgp <neigbor ip address>
> 
> HTH,
> Ivan,
> 
> On Thu, Jan 5, 2012 at 12:41, Affandi Indraji <affandi.indraji at gmail.com>wrote:
> 
>> Hi,
>> 
>> I understand that doing the origination from Junos is slightly different
>> from Cisco.
>> 
>> 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
>> 
>> Junos:
>> - 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.
>> 
>> Question:
>> 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
>> this
>> possible?
>> 2. Is there any best practice to originate routes in Junos since it behave
>> differently compare to cisco?
>> 
>> Thank you.
>> 
>> Regards,
>> Affandi
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>> 
> 
> 
> 
> -- 
> Best Regards!
> 
> Ivan Ivanov
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
> 
> -- This e-mail has been checked for virus by IPnett's Security solution --
> 
-- This e-mail has been checked for virus by IPnett's Security solution --




More information about the juniper-nsp mailing list