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

Ahmad Alhady ahmad.alhady at yahoo.com
Sun Dec 28 12:23:06 EST 2008


but in 2 different terms !!!

not in same term !?

I was asking about same term ?!

Thanks



________________________________
From: Masood Ahmad Shah <masood at nexlinx.net.pk>
To: Ahmad Alhady <ahmad.alhady at yahoo.com>; juniper-nsp at puck.nether.net
Sent: Sunday, December 28, 2008 8:14:11 PM
Subject: RE: [j-nsp] merging IPv6 and IPv4 route in same policy

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