云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > MPLS组网案例

MPLS组网案例

  • 62 次阅读
  • 3 次下载
  • 2025/6/14 22:33:12

mpls label protocol ldp //选择MPLS标签分发协议为LDP(默认是TDP,CISCO私有)

再在所有MPLS网络中的接口开启MPLS RT1: int s0/1 mpls ip int s0/2 mpls ip

RT2的S0/0、F1/0、S0/1,RT3的S0/0、F1/0、S0/1,RT4、RT5的S0/1做以上配置

IBGP的配置: RT4:

router bgp 65000 no synchronization

network 172.17.4.0 mask 255.255.255.0 neighbor 5.5.5.5 remote-as 65000

neighbor 5.5.5.5 update-source Loopback0 neighbor 5.5.5.5 next-hop-self no auto-summary RT5:

router bgp 65000 no synchronization

network 172.17.5.0 mask 255.255.255.0 neighbor 4.4.4.4 remote-as 65000

neighbor 4.4.4.4 update-source Loopback0 neighbor 4.4.4.4 next-hop-self no auto-summary

LDP邻居建立过程请看http://tangfangxiao.blog.51cto.com/2116646/659741 RT1#show ip cef detail //查看CEF的详细信息 4.4.4.4/32, version 23, epoch 0, cached adjacency to Serial0/1 0 packets, 0 bytes tag information set

local tag: 23 //本地标签18 也就是进来的标签,交换标签(SWAP) fast tag rewrite with Se0/1, point2point, tags imposed: {22}//压入标签PUSH 22

via 10.0.12.2, Serial0/1, 0 dependencies next hop 10.0.12.2, Serial0/1 valid cached adjacency

tag rewrite with Se0/1, point2point, tags imposed: {22} RT1#show mpls ldp discovery //查看LDP发现消息 Local LDP Identifier:

1.1.1.1:0 //本地LDP标识为1.1.1.1 Discovery Sources:

Interfaces: //LDP发现消息的来源

Serial0/1 (ldp): xmit/recv //从S0/1接口发送或接收到LDP发现消息

LDP Id: 2.2.2.2:0 //LDP ID为2.2.2.2

Serial0/2 (ldp): xmit/recv//从S0/2接口发送或接收到LDP发现消息

LDP Id: 3.3.3.3:0 //LDP ID为3.3.3.3 RT1#show mpls ldp neighbor //查看LDP的邻居信息

Peer LDP Ident: 3.3.3.3:0; Local LDP Ident 1.1.1.1:0 //对端LDP ID3.3.3.3和本地LDP ID 1.1.1.1

TCP connection: 3.3.3.3.37601 - 1.1.1.1.646 //TCP连接 IP+端口号

State: Oper; Msgs sent/rcvd: 30/31; Downstream //状态:运行中

Up time: 00:14:16 LDP discovery sources:

Serial0/2, Src IP addr: 10.0.13.2 //LDP发现消息的来源和IP Addresses bound to peer LDP Ident: //对端LDP需要弹出MPLS标签的地址

10.0.13.2 3.3.3.3 10.0.23.2 10.0.35.1

Peer LDP Ident: 2.2.2.2:0; Local LDP Ident 1.1.1.1:0

TCP connection: 2.2.2.2.54420 - 1.1.1.1.646 State: Oper; Msgs sent/rcvd: 20/20; Downstream Up time: 00:04:34 LDP discovery sources:

Serial0/1, Src IP addr: 10.0.12.2 Addresses bound to peer LDP Ident:

10.0.12.2 2.2.2.2 10.0.23.1 10.0.24.1 注意:MPLS的标签分发是随机的(从16往上递增,0-15为公认系统标签),你们有可能分得的标签跟我不一样!

我们来分析一下RT4的172.16.4.0这条路由在MPLS网络的传播:

首先RT4上运行了MPLS,会为所有的IGP路由表分发标签(BGP路由不发标签),RT2收到RT4分发的标签

RT2#show mpls ldp bindings //显示标签信息库 tib entry: 172.16.4.0/24, rev 18 //路由条目

local binding: tag: 20 //本地分发标签是20(发给所有LDP邻居)

remote binding: tsr: 4.4.4.4:0, tag: imp-null //4.4.4.4分发的特殊标签3(用来作倒数第二跳弹出)

remote binding: tsr: 3.3.3.3:0, tag: 20 //3.3.3.3分发的标签20

remote binding: tsr: 1.1.1.1:0, tag: 24 //1.1.1.1分发的标签是24

搜索更多关于: MPLS组网案例 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

mpls label protocol ldp //选择MPLS标签分发协议为LDP(默认是TDP,CISCO私有) 再在所有MPLS网络中的接口开启MPLS RT1: int s0/1 mpls ip int s0/2 mpls ip RT2的S0/0、F1/0、S0/1,RT3的S0/0、F1/0、S0/1,RT4、RT5的S0/1做以上配置 IBGP的配置: RT4: router bgp 65000 no synchronization network 172.17.4.0 mask 255.255.255.0 neighbor 5.5.5.5 remote-as 65000 neighbor 5.5.5.5 update-source Loopback0 neighbor 5.

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com