大家好!
我是达叔。

本次练习分享拓扑如下,大家可自行搭建仿真环境进行研究探讨。

欢迎大家评论进行探讨交流。

大家自行按照拓扑把配置刷进去哦 (设备的预配置将附在结尾部分)

现由于前面负责实施的工程师离职,留下烂尾工程,请按下面截图找出目前配置存在的错误并修复,要求项目部署完毕之后所有检查命令输出要和下面截图一致。

要求R7和R8两个站点通信必须经过R6的全局处理、要求R6的vrf A 和R7、R8能够直接通信

同时要求交一份排除故障的文档,用于对客户进行技术支撑。

要求在文档中指出配置错误的地方,以及产生的影响,解决的方案。

不能使用任何静态路由、不允许修改R4、R5的VRF配置、不允许修改R6的BGP配置

谢谢大家!
我是乾颐堂CCIE导师,CCIE培训金牌讲师达叔。

本博客由乾颐堂达叔独家冠名写出,素材来自乾颐堂日常工作及达叔和他身边的CCIE们的故事。

下面附上排错环境中的设备配置:

hostname R1
!
ip vrf HUB
  rd 200:100
!
ip vrf SPOKE
  rd 100:200
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 100 199
!
!
interface Loopback0
  ip address 10.1.1.1 255.255.255.255
  ip ospf 110 area 0
!
interface Ethernet0/0
  ip address 13.1.1.1 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0
  mpls ip
!
interface Ethernet0/1
  no ip address
!
interface Ethernet0/1.1
  encapsulation dot1Q 1 native
  ip vrf forwarding HUB
  ip address 16.1.1.1 255.255.255.0
!
interface Ethernet0/1.2
  encapsulation dot1Q 2
  ip vrf forwarding SPOKE
  ip address 16.1.2.1 255.255.255.0
!
interface Ethernet0/1.3
  encapsulation dot1Q 3
  ip address 16.1.3.1 255.255.255.0
!
!
router ospf 110
  prefix-suppression
!
router bgp 100
  bgp log-neighbor-changes
  no bgp default ipv4-unicast
  neighbor 10.1.1.3 remote-as 100
  neighbor 10.1.1.3 update-source Loopback0
  neighbor 16.1.3.6 remote-as 200
  !
  address-family ipv4
   network 16.1.3.0 mask 255.255.255.0
   neighbor 10.1.1.3 activate
   neighbor 16.1.3.6 activate
   neighbor 16.1.3.6 prefix-list 1 in
  exit-address-family
  !
  address-family ***v4
   neighbor 10.1.1.3 activate
   neighbor 10.1.1.3 send-community extended
  exit-address-family
  !
  address-family ipv4 vrf HUB
   neighbor 16.1.1.6 remote-as 200
   neighbor 16.1.1.6 activate
  exit-address-family
  !
  address-family ipv4 vrf SPOKE
   neighbor 16.1.2.6 remote-as 200
   neighbor 16.1.2.6 activate
  exit-address-family
!
!
ip prefix-list 1 seq 5 deny 10.0.0.0/8 le 32
ip prefix-list 1 seq 10 deny 172.16.0.0/12 le 32
ip prefix-list 1 seq 15 deny 192.168.0.0/16 le 32
ip prefix-list 1 seq 20 deny 0.0.0.0/0
ip prefix-list 1 seq 25 permit 0.0.0.0/0 le 32

hostname R2
!
ip vrf A
  rd 100:200
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 200 299
!
!
username R6 password 0 cisco
!
!        
interface Loopback0
  ip address 10.1.1.2 255.255.255.0
  ip ospf 110 area 0
!
interface Loopback1
  ip address 10.22.22.22 255.255.255.255
!
!
interface Ethernet0/1
  ip address 23.1.1.2 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0
  mpls ip
!

interface Serial1/1
  ip vrf forwarding A
  ip address 26.1.1.2 255.255.255.0
  encapsulation ppp
  ip ospf 1 area 0
  ppp authentication chap
  serial restart-delay 0
!
!
router ospf 1 vrf A
  redistribute bgp 100 subnets
!
router ospf 110
  prefix-suppression
!
router bgp 100
  bgp log-neighbor-changes
  no bgp default ipv4-unicast
  neighbor 10.1.1.3 remote-as 100
  neighbor 10.1.1.3 update-source Loopback0
  neighbor 26.1.1.6 remote-as 200
  !
  address-family ipv4
   network 26.1.1.0 mask 255.255.255.0
   neighbor 10.1.1.3 activate
   neighbor 26.1.1.6 activate
   neighbor 26.1.1.6 prefix-list 1 in
  exit-address-family
  !       
  address-family ***v4
   neighbor 10.1.1.3 activate
   neighbor 10.1.1.3 send-community extended
  exit-address-family
  !
  address-family ipv4 vrf A
   redistribute ospf 1
  exit-address-family
!
!
!
ip prefix-list 1 seq 5 deny 10.0.0.0/8 le 32
ip prefix-list 1 seq 10 deny 172.16.0.0/12 le 32
ip prefix-list 1 seq 15 deny 192.168.0.0/16 le 32
ip prefix-list 1 seq 20 deny 0.0.0.0/0
ip prefix-list 1 seq 25 permit 0.0.0.0/0 le 32
!
!        
mpls ldp router-id Loopback1 force

hostname R3
!
!
!
no ip cef
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 300 399
!
!
!
interface Loopback0
  ip address 10.1.1.3 255.255.255.255
  ip ospf 110 area 0
!        
interface Loopback1
  ip address 6.6.6.6 255.255.255.255
!
interface Ethernet0/0
  ip address 13.1.1.3 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0
  mpls ip
!
interface Ethernet0/1
  ip address 23.1.1.3 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0
  mpls ip
!
interface Ethernet0/2
  ip address 34.1.1.3 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0
  mpls ip 
!
interface Ethernet0/3
  ip address 35.1.1.3 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0
  mpls ip
!
!
router ospf 110
  prefix-suppression
!
router bgp 100
  bgp log-neighbor-changes
  no bgp default ipv4-unicast
  neighbor iBGP peer-group
  neighbor iBGP remote-as 100
  neighbor iBGP update-source Loopback0
  neighbor 10.1.1.1 peer-group iBGP
  neighbor 10.1.1.2 remote-as 100
  neighbor 10.1.1.2 peer-group iBGP
  neighbor 10.1.1.4 peer-group iBGP
  neighbor 10.1.1.5 peer-group iBGP
  !
  address-family ipv4
   network 6.6.6.6 mask 255.255.255.255
   neighbor 10.1.1.1 activate
   neighbor 10.1.1.2 activate
  exit-address-family
  !
  address-family ***v4
   neighbor iBGP send-community extended
   neighbor iBGP route-reflector-client
   neighbor 10.1.1.1 activate
   neighbor 10.1.1.2 activate
   neighbor 10.1.1.4 activate
   neighbor 10.1.1.5 activate
  exit-address-family
!

hostname R4
!
!
vrf definition A
  rd 100:200
  !
  address-family ipv4
   route-target export 47:47
   route-target import 16:16
   route-target import 26:26
   route-target import 58:58
  exit-address-family
!
!
!
ip cef   
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 400 499
!
!
!
!
interface Loopback0
  ip address 10.1.1.4 255.255.255.255
  ip ospf 110 area 0
!
interface Ethernet0/0
  vrf forwarding A
  ip address 47.1.1.4 255.255.255.0
!
!
interface Ethernet0/2
  ip address 34.1.1.4 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0

!
router ospf 110
  prefix-suppression
!
router bgp 100
  bgp log-neighbor-changes
  no bgp default ipv4-unicast
  neighbor 10.1.1.3 remote-as 100
  neighbor 10.1.1.3 update-source Loopback0
  !
  address-family ipv4
  exit-address-family
  !
  address-family ***v4
   neighbor 10.1.1.3 activate
   neighbor 10.1.1.3 send-community extended
  exit-address-family
  !
  address-family ipv4 vrf A
   neighbor 47.1.1.7 remote-as 200
   neighbor 47.1.1.7 activate
  exit-address-family
!

!
ip extcommunity-list 1 permit soo 78:78
ip extcommunity-list 2 permit soo 78:78
ip extcommunity-list standard q permit soo 78:78
!
no ip http server
no ip http secure-server
!
!
ip prefix-list 1 seq 5 permit 1.1.1.1/32
!

hostname R5
!
!
ip vrf A
  rd 100:200
  route-target export 58:58
  route-target import 16:16
  route-target import 26:26
  route-target import 47:47
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
mpls label range 500 599
mpls label protocol tdp
!
!
!
interface Loopback0
  ip address 10.1.1.5 255.255.255.255
  ip ospf 110 area 0
!
interface Ethernet0/0
  ip vrf forwarding A
  ip address 58.1.1.5 255.255.255.0
!
!
interface Ethernet0/3
  ip address 35.1.1.5 255.255.255.0
  ip ospf network point-to-point
  ip ospf demand-circuit
  ip ospf 110 area 0
  mpls propagate-cos
  mpls ip
!
!
!
router ospf 110
  prefix-suppression
!
router bgp 100
  bgp log-neighbor-changes
  no bgp default ipv4-unicast
  neighbor 10.1.1.3 remote-as 100
  neighbor 10.1.1.3 update-source Loopback0
  !
  address-family ipv4
  exit-address-family
  !
  address-family ***v4
   neighbor 10.1.1.3 activate
   neighbor 10.1.1.3 send-community extended
  exit-address-family
  !
  address-family ipv4 vrf A
   neighbor 58.1.1.8 remote-as 200
   neighbor 58.1.1.8 activate
  exit-address-family
!

hostname R6
!
!
ip vrf A
  rd 100:200
!
!
!
ip cef
no ipv6 cef
ipv6 multicast rpf use-bgp
!
multilink bundle-name authenticated
!
!
!        
!
username R2 password 0 cisc0
!
!
!
!
interface Loopback0
  ip address 10.6.6.6 255.255.255.255
  ip nat inside
  ip virtual-reassembly in
!
interface Loopback1
  ip vrf forwarding A
  ip address 10.66.66.66 255.255.255.255
  ip ospf 1 area 0
!
!
interface Ethernet0/1.1
  encapsulation dot1Q 1 native
  ip address 16.1.1.6 255.255.255.0
!
interface Ethernet0/1.2
  encapsulation dot1Q 2
  ip address 16.1.2.6 255.255.255.0
  ip nat inside
  ip virtual-reassembly in
!
interface Ethernet0/1.3
  encapsulation dot1Q 3
  ip address 16.1.3.6 255.255.255.0
  ip nat outside
  ip virtual-reassembly in
!
!
!
interface Serial1/1
  ip vrf forwarding A
  ip address 26.1.1.6 255.255.255.0
  encapsulation ppp
  ip ospf 1 area 0
  ppp chap hostname R6
  ppp chap password 0 cisco
  serial restart-delay 0
!
!        
router ospf 1 vrf A
!
router bgp 200
  bgp log-neighbor-changes
  network 10.6.6.6 mask 255.255.255.255
  neighbor 16.1.1.1 remote-as 100
  neighbor 16.1.2.1 remote-as 100
  neighbor 16.1.2.1 default-originate
  neighbor 16.1.3.1 remote-as 100
!
!
!
ip nat inside source list NAT interface Ethernet0/1.3 overload
!
ip access-list standard NAT
  permit 10.0.0.0 0.255.255.255
!

hostname R7
!
!
!
ip cef
no ipv6 cef
!
!
!
interface Loopback0
  ip address 10.7.7.7 255.255.255.255
!
interface Ethernet0/0
  ip address 47.1.1.7 255.255.255.0
!
interface Ethernet0/1
  ip address 78.1.1.7 255.255.255.0
!
!
!
!
router eigrp 90
  network 47.1.1.7 0.0.0.0
  network 77.0.0.0
!
router bgp 200
  bgp log-neighbor-changes
  network 10.7.7.7 mask 255.255.255.255
  network 77.1.1.1 mask 255.255.255.255
  neighbor 47.1.1.4 remote-as 100
!

hostname R8
!
!
!
interface Loopback0
  ip address 10.8.8.8 255.255.255.255
!
interface Ethernet0/0
  ip address 58.1.1.8 255.255.255.0
!
interface Ethernet0/1
  ip address 78.1.1.8 255.255.255.0
!
!
!
router bgp 200
  bgp log-neighbor-changes
  network 10.8.8.8 mask 255.255.255.255
  network 88.1.1.1 mask 255.255.255.255
  neighbor 58.1.1.5 remote-as 100
!

转载于:https://blog.51cto.com/dashu666/2163481

MPLS排错练习题分享相关推荐

  1. 施工员考试科目有哪些?施工员(装修装饰)练习题分享

    一.施工员考试科目有哪些? 施工员考试内容包括法律法规及相关知识.专业基础知识.专业通用知识.岗位知识和专业实务等.考试科目有两门,分别是<施工员专业基础知识>.<施工员专业管理实务 ...

  2. python面试刷题app_Python面试的一些心得,与Python练习题分享

    关于基础 项目打算招聘一个自动化运维,主要需求是python.Linux与shell脚本能力.但面试几天发现一些问题: 简历虚假 这个不管哪行,简历含水量大都是普遍存在的,看简历犀利的一比,一面是能力 ...

  3. sql server 经典练习题分享二

    26.查询存在有85分以上成绩的课程Cno. SELECT DISTINCT cno FROM dbo.scores WHERE degree>85 27.查询出"计算机系" ...

  4. Python入门级案例练习题分享!

    Time will tell. 1.计算 a * a + b * b + c * c + - 代码: def calc(*numbers):sum = 0for n in numbers:sum = ...

  5. 周杰伦新歌《说好不哭》上线,程序员哭了......【华为云分享】

    前些天,场主的朋友圈被一首歌刷屏了. 数据有多牛逼?除了揽获各大新闻头条,新歌发售3小时,数字专辑就在QQ音乐卖了360万张.以单价3元计算,一首<说好不哭>已狂揽千万,无人匹敌. 结果因 ...

  6. 3分钟创建一个游戏类容器应用【华为云分享】

    [摘要] 云容器引擎(Cloud Container Engine)新手课堂 - 本期导读:3分钟创建一个2048游戏类容器应用. 在学习本期CCE新手课堂前,建议您先学习以下课程: 1. CCE基本 ...

  7. 【我的物联网成长记7】物联网主流通信协议解读【华为云分享】

    [摘要] 当今物联网的主流通信协议是CoAP/LWM2M协议和MQTT协议,本文将会为您分别解读这些协议的工作方式,了解它们的特点,助您选择最适合您的设备的通信协议. 通信协议又称为传输协议,用于定义 ...

  8. Linux入侵痕迹检测方案【华为云技术分享】

    背景说明 扫描是一切入侵的基础,通过扫描来发现目标主机是否为活动主机.操作系统是什么版本.开放了哪些服务等.扫描技术纷繁复杂,新的扫描技术也层出不穷,不可能穷举所有扫描技术,下面按入侵步骤对主机扫描. ...

  9. 12月北京CISA认证考试考前辅导会成功举办

    12月北京CISA认证考试考前辅导会成功举办 2012年12月1日上午,由上海汇哲信息科技有限公司与国际信息安全学习联盟联合举办的CISA考前辅导(北京场)在北京海淀区中关村数码大厦顺利举办.这是国盟 ...

  10. Jerry的CRM Middleware(中间件)文章合集

    我在SAP成都研究院做过的CRM中间件的项目其实并不是很多: 1. 2013年下半年和2014年上半年曾经支持过中联重科和蒙牛的CRM项目相关的中间件问题; 2. 2014年上半年做过一个CRM物料主 ...

最新文章

  1. fpga经典设计100例_图解运放电路/OP放大电路设计/OP放大器应用技巧100例
  2. Putty自动登陆远程Linux主机
  3. win10+vs2017 snmp开发实例
  4. VS2017 按ctrl+f5执行程序窗口依然一闪而过的问题(图文)
  5. python发送消息到微信_通过python登录微信发送消息
  6. bootstrap 起步
  7. 浅析 Linux 初始化系统(系统服务管理和控制程序/init system) -- UpStart
  8. BZOJ——2134: 单选错位
  9. 请问用微信很少语音而且打字不喜欢打错别字的是什么样的人?能说明这样的人办事认真吗?
  10. python特点 可移植性_下面的选项中,不属于Python特点的是( )_学小易找答案
  11. DPDK 21.08 hygon (海光) CPU 环境构建
  12. 拼多多微信登录服务器请求失败,拼多多管理后台登不上怎么回事?有何功能?...
  13. python blp模型 估计_BLP模型
  14. Tianchi big data competition天池大数据挑战(CV场)
  15. 西门子杯-工业信息网络化
  16. 公众号运营的小伙伴们看过来啦!
  17. PCB及电路抗干扰措施
  18. Webtoos 仿Q+云桌面框架
  19. 织梦dede:memberlist增加会员级别名称
  20. 教师计算机提升工程培训心得,教师信息技术应用能力提升培训心得体会3篇

热门文章

  1. linux 桌面美化指南,Linux_9方面立体式地美化Ubuntu桌面,总结了一下桌面美化的设置。 - phpStudy...
  2. 《重说中国近代史》—张鸣—(3)两个世界最初的碰撞(续)
  3. 使用iperf3网络速度测试工具测试Windows和Ubuntu两台机器的网口速率
  4. mysql rrd_将RRD数据库中数据导入MYSQL中_MySQL
  5. 企业网站建设前如何进行网站策划
  6. 企业网站开发需要注意什么事项?
  7. 千千静听皮肤急速合成器
  8. C语言例题:温度转换
  9. 高等数学学习笔记——第六十一讲——空间曲线的弧长与曲率
  10. Google Admob 广告快速集成(并集成Firebase统计)