cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
680
Views
0
Helpful
1
Replies

Flexible Extranet Deployment

baradasabut
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

Atif Awan
Cisco Employee
Cisco Employee

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

View solution in original post

1 Reply 1

Atif Awan
Cisco Employee
Cisco Employee

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