[j-nsp] Redistributing BGP labelled prefixes into OSPF

Jason Koh kohtohshyr at pacific.net.sg
Thu Oct 12 05:32:58 EDT 2006


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


More information about the juniper-nsp mailing list