大网数据广告活动
服务器运维问答

Problems with RD, RT import and RT export in MPLS VPN and BGP

· 52CE 我爱测

I'm learning MPLS VPN with MP-BGP and I'm finding difficulties with undertstanding the RD value and the RT import and export values. From what I've already understand, RD (route distinguisher) identifies the VRFs from a network t…

问题原文

原帖链接 · wasanga7 · CC BY-SA 4.0

I'm learning MPLS VPN with MP-BGP and I'm finding difficulties with undertstanding the RD value and the RT import and export values.

From what I've already understand, RD (route distinguisher) identifies the VRFs from a network that compose the same virtual network and change routing info between them. RT import says what VRFs in a network are known by the local VRF and RT export is send to identify the information from the local VRF. To decide in what VRF install the rout, when a package comes to the PE, if the RT export the package has and the RT import our VRF have are the same, it adds the route to the VRF, otherwise it delete it.

I don't know if all I've written is correct. But I don't get to understand it properly when I find something like THIS.

Let's talk about sites PE1, PE2, PE3 and PEC (central PE).

What sites does PE3 know?

As the RT import is the RT export of PEC, PE3 just knows PEC.

What sites does PEC know?

I think PEC knows PE1 a PE2 because RT export from PE1 and PE2 matchs with RT import from PEC.

Am I correct? Please I need help to understand it.

已采纳解答

原帖链接 · Ron Trunk · CC BY-SA 4.0

From what I've already understand, RD (route distinguisher) identifies the VRFs from a network that compose the same virtual network and change routing info between them.

That’s not right. RD is added to the IP address to make them unique. It does not define virtual networks.

RT import says what VRFs in a network are known by the local VRF and RT export is send to identify the information from the local VRF.

Nope. Think of route targets as a “tag” that identifies routes. Export tags the routes and Import selects which tags are imported into the VRF.

To decide in what VRF install the route, when a package comes to the PE, if the RT export the package has and the RT import our VRF have are the same, it adds the route to the VRF, otherwise it delete it.

Also not right. MP BGP carries all the routes. Import/export is used to select which ones are included in a VRF.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-06-15)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。