本文主要针对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
#