How to filter OSPF routes in CE to PE connection

Hi Guys,

 

Can you tell me how to filter ospf routes that originate from site A destined for site B ?

I’ve tried to use distribute-list / route-map in PE1 and / area 0 range x.x.x.x not-advertised in PE2 but so far I still receiving that route.

 

                           PE1—————————PE2

                             |                                 |

                             |                                 |

                           CE1                           CE2

                         (Site 1)                        (Site 2)

 

PE to CE connection is using OSPF

PE1 to PE2 running iBGP and MPLS

 

Asume that CE1-PE1 are inside Area 0 and CE2-PE2 is inside Area 1

 

I would like to filter out 192.168.1.0/24 route that originate from site 1 toward site 2, how can i do this?

Do I need to configure export / import map on the vrf configuration only to filter out this route?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>