日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

MPLS排错练习题分享

發布時間:2023/12/16 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 MPLS排错练习题分享 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

大家好!
我是達叔。


本次練習分享拓撲如下,大家可自行搭建仿真環境進行研究探討。

歡迎大家評論進行探討交流。



??? 大家自行按照拓撲把配置刷進去哦 (設備的預配置將附在結尾部分)

??? 現由于前面負責實施的工程師離職,留下爛尾工程,請按下面截圖找出目前配置存在的錯誤并修復,要求項目部署完畢之后所有檢查命令輸出要和下面截圖一致。

要求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排错练习题分享的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。