简体   繁体   English

MPLS VPN中的BGP控制平面信息

[英]BGP control plane information in MPLS VPN

I am learning about MPLS VPN networks. 我正在学习MPLS VPN网络。 From my understanding an IGP runs on all core routers (P and PE), while BGP runs on all PE routers. 据我了解,IGP在所有核心路由器(P和PE)上运行,而BGP在所有PE路由器上运行。 Once the IGP has conveyed reachability information to all routers, and all routers have converged, the exact labels to be used to transfer packets are assigned using LDP. 一旦IGP将可达性信息传达给所有路由器,并且所有路由器都已收敛,就可以使用LDP分配用于传输数据包的确切标签。

My doubt is, how are BGP control packets transmitted between PEs. 我的疑问是,如何在PE之间传输BGP控制数据包。

There are two options. 有两种选择。
1. To use the Label switched paths between PEs. 1.要在PE之间使用标签交换路径。
2. To use normal IP forwarding through the P routers. 2.通过P路由器使用普通IP转发。

Which of these two methods is actually used? 实际使用这两种方法中的哪一种?
If both can be used how does the PE router make a decision on which one to use? 如果两者都可以使用,那么PE路由器如何决定要使用哪一个呢?
Do we have to manually configure it in the router? 我们是否必须在路由器中手动配置它?
Do these answers vary for different routers like Juniper, Cisco etc. ? 这些答案是否会因Juniper,Cisco等不同的路由器而有所不同?

My doubt is, how are BGP control packets transmitted between PEs. 我的疑问是,如何在PE之间传输BGP控制数据包。 There are two options: 有两种选择:

  1. To use the Label switched paths between PEs. 在PE之间使用标签交换路径。
  2. To use normal IP forwarding through the P routers. 通过P路由器使用普通IP转发。

If both can be used how does the PE router make a decision on which one to use? 如果两者都可以使用,那么PE路由器如何决定要使用哪一个呢?

LSPs are preferred over per-hop IP forwarding, if an LSP is available. 如果LSP可用,则LSP优先于逐跳IP转发。

Do we have to manually configure it in the router? 我们是否必须在路由器中手动配置它?

By 'it', do you mean configure use of the LSP for BGP control-plane information? 所谓“ it”,是指为BGP控制平面信息配置LSP的使用吗? It happens automatically on a Cisco IOS box 它在Cisco IOS盒子上自动发生

Do these answers vary for different routers like Juniper, Cisco etc. ? 这些答案是否会因Juniper,Cisco等不同的路由器而有所不同?

Cisco will send BGP information through an LDP LSP, as long as the BGP endpoint prefix has an label binding. 只要BGP端点前缀具有标签绑定,Cisco就会通过LDP LSP发送BGP信息。

I can't remember Juniper's behavior off-hand, they offer somewhat more granular control over LSP behavior. 我不记得Juniper的行为,它们对LSP行为提供了更精细的控制。

BGP uses TCP te setup its connection and to send their packets to his neighbors. BGP使用TCP te建立其连接并将其数据包发送给他的邻居。 This means that your neighbors need to see each other on layer 3 (ip) level. 这意味着您的邻居需要在第3层(ip)级别见到对方。

I hope this is the info that you needed. 我希望这是您需要的信息。

see: http://en.wikipedia.org/wiki/Border_Gateway_Protocol section "operation" for more details on this matter. 有关此问题的更多详细信息,请参见: http : //en.wikipedia.org/wiki/Border_Gateway_Protocol部分“操作”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM