[j-nsp] New post: OSPF export policing

alain.briant at bt.com alain.briant at bt.com
Fri Mar 20 12:30:48 EDT 2009


Hi Serghei

Can you confirm with a "show route extensive 0.0.0.0 instance VRF-B" the details of the route received.

I have just build a litte lab with your config with logical routers (not virtual ones ... Vrf)

I have the same ditribution filters as the one you're describing:


policy-statement EXPSTA {
    term 1 {
        from {
            route-filter 0.0.0.0/0 exact;
        }
        then reject;
    }
    term 2 {
        from {
            protocol static;
            route-filter 10.11.12.0/24 exact;
        }
        then accept;
    }
}


And I don't see the behaviour you're describing... I have default route received via bgp on router B distributed to router A and a static route 10.11.12.0 distributed from router A to B.

I think like wrote tonny we defenitely need some more config or traces from you.



-----Message d'origine-----
De : juniper-nsp-bounces at puck.nether.net [mailto:juniper-nsp-bounces at puck.nether.net] De la part de Serghei Istrati
Envoyé : jeudi 19 mars 2009 16:57
À : juniper-nsp at puck.nether.net
Objet : [j-nsp] New post: OSPF export policing

Hi All. I have unwanted 0.0.0.0/0 route from OSPF peer. I have problems with route export in an OSPF area.

I have 2 Juniper boxes.R1 and R2 with several vrf-instances in each of them(with different OSPF area in different pairs of vrf) 

Now I'm making new VRF in each of Routers. VRF-A in R1 and VRF-B in R2.  and I'm configuring OSPF area 0.0.0.5 between VRF-A and VRF-B (in separate VLAN). 

I need to export only 10.11.12.0/24 static route through OSPF  from VRF-A to VRF-B

And I need to export only 0.0.0.0/0 BGP route through OSPF from VRF-B to VRF-A.

I'm using route policy to OSPF export. I have installed my 10.11.12.0/24 static route in VRF-B from OSPF VRF-A. And I have 0.0.0.0/0 in VRF-A from VRF-B.

 

!!! But, I also have  0.0.0.0/0 static route in VRF-B from OSPF VRF-A ???  Why ?? I don't have any static 0.0.0.0/0 in VRF-A

 

I have static 0.0.0.0/0 only in other VRF in R1.

my OSPF export policy on R1 VRF-A is:

term 1

      from  route-filter 0.0.0.0/0 exact

      then reject

term 2

      from protocol static

             route-filter 10.11.12.0/24 

      then accept

 

In OSPF Trace from R1(VRF-A)  I see that R1 uses transit area 0.0.0.0 to export static 0.0.0.0/0 but  I don't have area 0.0.0.0 in R1.

I have area 0.0.0.0 only between router R2 and another R3.

 

 

Please, If someone can to suggest some idea . Thank You

 

Best regards

 

Serghei Istrati
PRODUCT & SERVICE DEVELOPMENT
JV "MOLDCELL" JSC
Mob: +373 79400220
Tel: +373 22206226
Fax: +373 22206023
e-mail: s.istrati at moldcell.md <BLOCKED::mailto:s.istrati at moldcell.md>
www.moldcell.md <BLOCKED::http://www.moldcell.md/> 

 


__________________________________________________
MOLDCELL S.A. DISCLAIMER: 

This E-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are hereby notified that any dissemination, forwarding, copying or use of any of the information is prohibited. The opinions expressed in this message belong to sender alone. 
There is no implied endorsement by MOLDCELL S.A. 

19/3/2009

_______________________________________________
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