[j-nsp] merging IPv6 and IPv4 route in same policy

Masood Ahmad Shah masood at nexlinx.net.pk
Sun Dec 28 12:14:11 EST 2008


The following configuration should work for IPv6/IPv4 in same policy. 

policy-statement O-R {
    term 1 {
        from {
            protocol ospf;
            route-filter fec0:0:0:4::/64 orlonger;
        }
        then accept;
    }               

term 2 {
    from {
        protocol ospf;
        route-filter 10.0.6.0/24 orlonger;
    }
    then accept;
}


Regards,
Masood 

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Ahmad Alhady
Sent: Sunday, December 28, 2008 9:52 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] merging IPv6 and IPv4 route in same policy

can we merge matching IPv6 and IPv4 routes in same config ???
for example 


policy-statement O-R {
    term 1 {
        from {
            protocol ospf;
            route-filter 10.0.6.0/24 orlonger;
            route-filter fec0:0:0:4::/64 orlonger;
        }
        then accept;
    }               


he is giving me this message!!!!!

   Policy: invalid prefix fec0:0:0:4::/64 for family inet
error: configuration check-out failed



Ahmad



      
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list