设为首页收藏本站language 语言切换
查看: 2617|回复: 3
收起左侧

[求助] mpls bgp forwarding 和 mpls ip的区别

[复制链接]
发表于 2016-8-8 00:55:51 | 显示全部楼层 |阅读模式
10鸿鹄币
大家好,最近正在学mpls vpn,关于利用BGP分配标签的部分不是很理解。图片是关于MPLS Option4 穿越非VPN服务提供商的拓扑以及命令,图中ASBR1-AS100和ASBR2-AS200是IBGP邻居。
对于某个BGP条目,如果是两个IBGP邻居利用BGP分配标签,为什么相应的接口没有开启mpls bgp forwarding, 而是开启mpls ip?

对于某个BGP条目,如果是两个EBGP邻居利用BGP分配标签,为什么相应的接口开启mpls bgp forwarding, 而不是开启mpls ip?
就我以前的看法,接口下的mpls ip命令是与LDP使能有关的,现在看来有点问题,求各位大大讲解一下。

网络拓扑

网络拓扑

配置1

配置1

配置2

配置2
3.png
4.png
5.png
6.png

最佳答案

查看完整内容

因为LDP不能为BGP路由分配标签,只能为BGP路由所在的下一跳的IGP路由分配标签
 成长值: 50125
发表于 2016-8-8 00:55:52 | 显示全部楼层
因为LDP不能为BGP路由分配标签,只能为BGP路由所在的下一跳的IGP路由分配标签
沙发 2016-8-8 00:55:52 回复 收起回复
回复

使用道具 举报

发表于 2016-8-8 08:39:21 | 显示全部楼层
mpls ip
To enable Multiprotocol Label Switching (MPLS) forwarding of IPv4 packets along normally routed paths for a particular interface, use the mpls ip command in interface configuration mode

mpls bgp forwarding
To enable an interface to receive Multiprotocol Label Switching (MPLS) packets when the signaling of MPLS labels is through the use of the Border Gateway Protocol (BGP), use the mpls bgp forwarding command in interface configuration mode.
板凳 2016-8-8 08:39:21 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-8-9 08:44:40 | 显示全部楼层
qsy112233 发表于 2016-8-8 23:33
因为LDP不能为BGP路由分配标签,只能为BGP路由所在的下一跳的IGP路由分配标签

ASBR1-AS100和ASBR2-AS200之间应该也是用BGP交换标签的吧,为什么他们的接口没有配置mpls bgp forwarding呢?
地板 2016-8-9 08:44:40 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-24 14:03 , Processed in 0.077650 second(s), 27 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表