Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Flexible Extranet Deployment

Hi All,

I have a VRF with number of routes originated from CE side. I want to do a selective distribution of CE routes with VRFs for two way communication. For better clarity, lest consider three VRFS : VRF-GREEN, VRF-RED and VRF-BLUE at PE. VRF-BLUE is connected to CE and have routes for data (172.234.90.0/24) and video(176.232.56.0/24) service. I want to distrbute VRF-BLUE data routes(172.234.90.0/24) with VRF-GREEN and video routes (176.232.56.0/24) with  VRF-RED.  How to control such granular distrbution of routes amongst VRFs? Can we deploy multiple export-maps per VRF ?

Any hint/suggestion would be of great help.

Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Flexible Extranet Deployment

You can use multiple sequences within a single route-map to attach different RTs to different routes. For example:

ip prefix-list VIDEO seq 10 permit 176.232.56.0/24

!

ip prefix-list DATA seq 10 permit 172.234.90.0/24

!

route-map export-map permit 10

match ip address prefix-list VIDEO

set extcommunity rt 65535:100 [additive]

!

route-map export-map permit 10

match ip address prefix-list DATA

set extcommunity rt 65535:200 [additive]

!

ip vrf VRF-BLUE

export map export-map

!

Then in VRF-GREEN you import RT 65535:200 and in VRF-RED you import 65535:100. To ensure two way reachability you have to import in VRF-BLUE routes from both VRF-GREEN and VRF-RED.

Atif

1 REPLY
Cisco Employee

Re: Flexible Extranet Deployment

You can use multiple sequences within a single route-map to attach different RTs to different routes. For example:

ip prefix-list VIDEO seq 10 permit 176.232.56.0/24

!

ip prefix-list DATA seq 10 permit 172.234.90.0/24

!

route-map export-map permit 10

match ip address prefix-list VIDEO

set extcommunity rt 65535:100 [additive]

!

route-map export-map permit 10

match ip address prefix-list DATA

set extcommunity rt 65535:200 [additive]

!

ip vrf VRF-BLUE

export map export-map

!

Then in VRF-GREEN you import RT 65535:200 and in VRF-RED you import 65535:100. To ensure two way reachability you have to import in VRF-BLUE routes from both VRF-GREEN and VRF-RED.

Atif

314
Views
0
Helpful
1
Replies
CreatePlease to create content