【HCIE备考笔记】【08-MPLS】MPLS-隧道技术

本文主要针对HCIE考试对各种技术做一轮复习。
建议读者已经具备其他厂商IE认证,或者具备良好网络基础知识。
本文仅整理重点难点和容易踩坑的知识,对于基础知识一概不整理。
在这里插入图片描述

一、MPLS 隧道

在这里插入图片描述

二、RD和RT

在这里插入图片描述
在这里插入图片描述

三、BGP VPNV4邻居

典配举例

bgp 4096
 peer 172.26.5.5 as-number 4096 
 peer 172.26.5.5 connect-interface LoopBack0
 peer 172.26.7.7 as-number 4096 
 peer 172.26.7.7 connect-interface LoopBack0
 #
 ipv4-family unicast
  undo synchronization
  peer 172.26.5.5 enable
  peer 172.26.7.7 enable
 # 
 ipv4-family vpnv4
  undo policy vpn-target
  peer 172.26.5.5 enable
  peer 172.26.7.7 enable
  #华为vpnv4邻居启用方式

四、公网隧道迭代和标签分配

内层标签:BGP分配

Display bgp vpnv4 vpn-instance xxx routing-table label
在这里插入图片描述

外层标签:LDP分配

LDP按照BGP路由下一跳地址分配对应的LSP表中的标签
在这里插入图片描述

五、路由交叉

匹配RT值进行路由表的导入操作

ip vpn-instance vpn-IT
 route-distinguisher 64550:10
 vpn-target 10:1 10:2 10:3 10:4 10:5 import-extcommunity
 vpn-target 10:1 export-extcommunity
#
ip vpn-instance vpn-lab
 route-distinguisher 64550:30
 vpn-target 10:1 10:2 10:3 import-extcommunity
 vpn-target 10:3 export-extcommunity
#
ip vpn-instance vpn-nonrnd
 route-distinguisher 64550:50
 description vpn-instance vpn-nonrnd
 vpn-target 10:1 10:5 import-extcommunity
 vpn-target 10:5 export-extcommunity
#
ip vpn-instance vpn-office
 route-distinguisher 64550:40
 vpn-target 10:1 10:2 10:4 import-extcommunity
 vpn-target 10:4 export-extcommunity
#
ip vpn-instance vpn-rndserver
 route-distinguisher 64550:20
 vpn-target 10:1 10:2 10:3 10:4 import-extcommunity
 vpn-target 10:2 export-extcommunity
 #

  • 1
    点赞
  • 32
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

逗老师

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值