[j-nsp] Redistributing BGP labelled prefixes into OSPF
Jason Koh
kohtohshyr at pacific.net.sg
Thu Oct 12 20:56:33 EDT 2006
Hi Erdem
Thanks for replying.
I was trying to have a BGP peering between a Cisco ASBR and a Juniper ASBR
that is labelled unicast. From the Cisco side, I was trying to restrict a
specific prefix that is labelled to the M20 via a route-map which looks
something like this:
route-map LABEL permit 10
match ip address prefix ALLOW-LABEL
set mpls-label
route-map LABEL permit 20
ip prefix-list ALLOW-LABEL permit 192.168.38.19/32
Now for the M20, when it receives the prefix, it puts it into inet.3.
However it doesn't pass that inet.3 prefix to other routers in the OSPF
domain. Hence I am looking for a solution to do something like this.
----- Original Message -----
From: "Erdem Sener" <erdems at gmail.com>
To: "Jason Koh" <kohtohshyr at pacific.net.sg>
Cc: <juniper-nsp at puck.nether.net>
Sent: Thursday, October 12, 2006 6:45 PM
Subject: Re: [j-nsp] Redistributing BGP labelled prefixes into OSPF
> Hello,
>
> If the only reason you're trying to do this is to replicate M20's
> inet.3 table into M5; I think there are better ways to do so rather
> than combining bgp routes with OSPF.
>
> Could you give more details of your setup and your main goal?
>
> Cheers,
>
> On 10/12/06, Jason Koh <kohtohshyr at pacific.net.sg> wrote:
>> Hi
>>
>> Was wondering what is the best way to redistribute external BGP prefixes
>> which are received and labelled, into OSPF. I have an M20 which receives
>> said prefixes and it installed into inet.3. However I have been trying to
>> redistribute this into an M5's inet.3 table but it's not working.
>>
>> Currently am using a config like this for the M20. Is there any special
>> configuration I need to do on the M5 protocol ospf to accept inet.3
>> routes?
>>
>> # show policy-options policy-statement redis-inet3
>> term INET3 {
>> from rib inet.3;
>> then accept;
>> }
>>
>> # show policy-options policy-statement redistribute-connected-subnets
>> from protocol direct;
>> then {
>> metric 110;
>> accept;
>> }
>>
>> # show protocols ospf
>> enable;
>> external-preference 110;
>> export [ redistribute-connected-subnets redis-L2VPN ];
>> area 0.0.0.1 {
>> interface fe-1/1/2.255 {
>> priority 5;
>> }
>> }
>>
>>
>> Thanks in advance
>>
>> Jason Koh
>> Senior Network Engineer
>> Pacific Internet Ltd
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>>
>
>
> --
> Erdem
>
More information about the juniper-nsp
mailing list