Each customer has its own VRF so that they have overlapping networks, a route distinguisher (RD) distinguishes one set of routes (one VRF) from another
When VPN routes are advertised among PE routers via MP-BGP, the RD is included as part of the route along with the IP prefix.
ip vrf Site_A
rd 65000:10
!
ip vrf Site_B
rd 65000:20
!
ip vrf Site_C
rd 65000:30
rd 65000:10
!
ip vrf Site_B
rd 65000:20
!
ip vrf Site_C
rd 65000:30
Whereas route distinguishers are used to maintain uniqueness among identical routes in different VRFs, route targets can be used to share routes among them. We can apply route targets to a VRF to control the import and export of routes among it and other VRFs.
ip vrf Customer_A
rd 65000:100
route-target export 65000:100
route-target import 65000:100
rd 65000:100
route-target export 65000:100
route-target import 65000:100
You can use the shortcut command route-target both as a macro to add both commands simultaneously.
Comments
Post a Comment