0

"Route-target export" is used to export routes form VRF to mBGP - i need to know the rules which tells which routes will be exported.

For example : if VRF-RED have 10 Routes which include static routes, connected routes, OSPF routes and routes it imported from VRF-YELLOW. Now if VRF-RED export and VRF-GREEN import, then which of the 10 VRF-RED's route VRF-GREEN will get?

2
  • packetlife.net/blog/2013/sep/26/vrf-export-maps may be what you're looking for.
    – cpt_fink
    Sep 21, 2019 at 4:44
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Nov 19, 2022 at 23:52

2 Answers 2

0

It's depends on RT value. If you are using same RT value for VRF-YELLOW , VRF-RED and VRF-GREEN then you will get all the routes in VRF-GREEN. Otherwise, if you are using different RT value for VRF-YELLOW & VRF-RED and different for VRF-RED & VRF-GREEN, you will get all routes except the routes received from VRF-YELLOW.

0

Don't forget that VPN's depend on the RT's for the import/export policies. RT's are carried with the prefix along the VPNV4 space to identify the origin of the prefix.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.