mp-bgp bgp和ospf,eigrp重分发_第1页
mp-bgp bgp和ospf,eigrp重分发_第2页
mp-bgp bgp和ospf,eigrp重分发_第3页
mp-bgp bgp和ospf,eigrp重分发_第4页
mp-bgp bgp和ospf,eigrp重分发_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

实验报告 1309D 2014 11 17 姓 名 刘瀚中 班主任 连艳锋 讲 师 范思节 1 按要求搭建拓扑图 2 按要求给路由器配置 IP R1 conf t Enter configuration commands one per line End with CNTL Z R1 config int f0 1 R1 config if ip add 12 1 1 1 255 255 255 0 R1 config if no sh R1 config if int f0 0 R1 config if ip add 14 1 1 1 255 255 255 0 R1 config if no sh R1 config if ex R1 config R2 conf t Enter configuration commands one per line End with CNTL Z R2 config int f0 1 R2 config if ip add 12 1 1 2 255 255 255 0 R2 config if no sh R2 config if int f0 0 R2 config if ip add 23 1 1 2 255 255 255 0 R2 config if no sh R2 config if ex R2 config R3 conf t Enter configuration commands one per line End with CNTL Z R3 config int f0 1 R3 config if ip add 35 1 1 3 255 255 255 0 R3 config if no sh R3 config if int f0 0 R3 config if ip add 23 1 1 3 255 255 255 0 R3 config if no sh R3 config if ex R3 config R4 conf t Enter configuration commands one per line End with CNTL Z R4 config int f0 0 R4 config if ip add 14 1 1 4 255 255 255 0 R4 config if no sh R4 config if ex R4 config R5 conf t Enter configuration commands one per line End with CNTL Z R5 config int f0 1 R5 config if ip add 35 1 1 5 255 255 255 0 R5 config if no sh R5 config if ex R5 config 3 在 R1 到 R3 之间启用 ipv4 的 ospf 123 area 0 R1 config router os 123 R1 config router net 12 1 1 0 0 0 0 255 a 0 R1 config router ex R1 config R2 config router os 123 R2 config router net 12 1 1 0 0 0 0 255 a 0 R2 config router n Mar 1 00 11 32 171 OSPF 5 ADJCHG Process 123 Nbr 14 1 1 1 on FastEthernet0 1 from LOADING to FULL Loading Done R2 config router net 23 1 1 0 0 0 0 255 a 0 R2 config router ex R2 config R3 config router os 123 R3 config router net 23 1 1 0 0 0 0 255 a 0 R3 config router ex 4 按要求在 R1 到 R5 上建立回环口 R1 config int lo0 R1 config if ip add Mar 1 00 15 45 191 LINEPROTO 5 UPDOWN Line protocol on Interface Loopback0 changed state to up R1 config if ip add 1 1 1 1 255 255 255 255 R1 config if ex R1 config R2 config int lo0 R2 config if ip add Mar 1 00 16 08 083 LINEPROTO 5 UPDOWN Line protocol on Interface Loopback0 changed state to up R2 config if ip add 2 2 2 2 255 255 255 255 R2 config if ex R2 config R3 config int lo0 R3 config if ip add Mar 1 00 16 33 539 LINEPROTO 5 UPDOWN Line protocol on Interface Loopback0 changed state to up R3 config if ip add 3 3 3 3 255 255 255 255 R3 config if ex R3 config R4 config int lo0 R4 config if ip add Mar 1 00 16 53 675 LINEPROTO 5 UPDOWN Line protocol on Interface Loopback0 changed state to up R4 config if ip add 4 4 4 4 255 255 255 255 R4 config if ex R4 config R5 config int lo0 R5 config if ip add Mar 1 00 17 26 883 LINEPROTO 5 UPDOWN Line protocol on Interface Loopback0 changed state to up R5 config if ip add 5 5 5 5 255 255 255 255 R5 config if ex R5 config 5 在 R1 与 R3 上以回环口建立 ibgp 邻居关系 R1 config router os 123 R1 config router net 1 1 1 1 0 0 0 0 a 0 R1 config router ex R1 config R2 config router os 123 R2 config router net 2 2 2 2 0 0 0 0 a 0 R2 config router ex R2 config R3 config router os 123 R3 config router net 3 3 3 3 0 0 0 0 a 0 R3 config router ex R3 config R1 config router bgp 13 R1 config router bgp router id 1 1 1 1 R1 config router nei 3 3 3 3 remot 13 R1 config router nei 3 3 3 3 up lo0 R3 config router bgp 13 R3 config router bgp router id 3 3 3 3 R3 config router nei 1 1 1 1 remot 13 R3 config router nei 1 1 1 1 up lo0 R3 config router 6 在 R1 到 R3 上启用 mpls ldp R1 config ip cef R1 config mpls label range 100 199 R1 config mpls label protocol ldp R1 config mpls ldp router id lo0 force R1 config int f0 1 R1 config if mpls ip R1 config if R2 config ip cef R2 config mpls ip R2 config mpls label range 300 399 R2 config mpls label protocol ldp R2 config mpls ldp router id lo0 force R2 config int f0 1 R2 config if mpls ip R2 config if int f0 0 R2 config if mpls ip R2 config if ex R2 config R3 config ip cef R3 config mpls ip R3 config mpls label range 200 299 R3 config mpls label protocol ldp R3 config mpls ldp router id lo0 force R3 config int f0 0 R3 config if mpls ip R3 config if ex R3 config 7 在 R1 和 R3 上启用 vrf abc rd 值是 1 1 rt 值是 1 1 R1 config ip vrf abc R1 config vrf rd 1 1 R1 config vrf route target both 1 1 R1 config vrf int f0 0 R1 config if ip vrf forwarding abc Interface FastEthernet0 1 IP address 12 1 1 1 removed due to enabling VRF abc R1 config if ip add 14 1 1 1 255 255 255 0 R1 config if no sh R1 config if end R1 R3 config ip vrf abc R3 config vrf rd 1 1 R3 config vrf route target both 1 1 R3 config vrf int f0 1 R3 config if ip vrf forwarding abc Interface FastEthernet0 0 IP address 23 1 1 3 removed due to enabling VRF abc R3 config if ip add 35 1 1 3 255 255 255 0 R3 config if no sh R3 config if R1 sh ip rou vrf abc Routing Table abc Codes C connected S static R RIP M mobile B BGP D EIGRP EX EIGRP external O OSPF IA OSPF inter area N1 OSPF NSSA external type 1 N2 OSPF NSSA external type 2 E1 OSPF external type 1 E2 OSPF external type 2 i IS IS su IS IS summary L1 IS IS level 1 L2 IS IS level 2 ia IS IS inter area candidate default U per user static route o ODR P periodic downloaded static route Gateway of last resort is not set 14 0 0 0 24 is subnetted 1 subnets C 14 1 1 0 is directly connected FastEthernet0 0 R1 R3 sh ip rou vrf abc Routing Table abc Codes C connected S static R RIP M mobile B BGP D EIGRP EX EIGRP external O OSPF IA OSPF inter area N1 OSPF NSSA external type 1 N2 OSPF NSSA external type 2 E1 OSPF external type 1 E2 OSPF external type 2 i IS IS su IS IS summary L1 IS IS level 1 L2 IS IS level 2 ia IS IS inter area candidate default U per user static route o ODR P periodic downloaded static route Gateway of last resort is not set 35 0 0 0 24 is subnetted 1 subnets C 35 1 1 0 is directly connected FastEthernet0 1 R3 8 在 R1 和 R3 之间建立 mp bgp 启用 bgp 的 vpnv4 地址族 R1 config router bgp 13 R1 config router no au R1 config router no auto summary R1 config router no s R1 config router no synchronization R1 config router no bgp def R1 config router no bgp default i R1 config router no bgp default ipv4 unicast R1 config router ad R1 config router address family v R1 config router address family vpnv4 u R1 config router address family vpnv4 unicast R1 config router af nei 3 3 3 3 ac R1 config router af nei 3 3 3 3 activate R1 config router af Mar 1 00 55 54 771 BGP 5 ADJCHANGE neighbor 3 3 3 3 Down Address family activated R1 config router af nei 3 Mar 1 00 55 57 043 BGP 5 ADJCHANGE neighbor 3 3 3 3 Up R1 config router af nei 3 3 3 3 se R1 config router af nei 3 3 3 3 send community R1 config router af R3 config router bgp 13 R3 config router no au R3 config router no auto summary R3 config router no s R3 config router no synchronization R3 config router no bgp def R3 config router no bgp default i R3 config router no bgp default ipv4 unicast R3 config router ad R3 config router address family v R3 config router address family vpnv4 u R3 config router address family vpnv4 unicast R3 config router af nei 1 1 1 1 ac R3 config router af nei 1 1 1 1 activate R3 config router af n Mar 1 00 57 21 655 BGP 5 ADJCHANGE neighbor 1 1 1 1 Down Address family activated R3 config router af nei Mar 1 00 57 23 851 BGP 5 ADJCHANGE neighbor 1 1 1 1 Up R3 config router af nei 1 1 1 1 se R3 config router af nei 1 1 1 1 send community R3 config router af R1 sh bgp v u a s BGP router identifier 1 1 1 1 local AS number 13 BGP table version is 1 main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up Down State PfxRcd 3 3 3 3 4 13 36 36 1 0 0 00 00 47 0 R1 R3 sh bgp v u a s BGP router identifier 3 3 3 3 local AS number 13 BGP table version is 1 main routing table version 1 Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up Down State PfxRcd 1 1 1 1 4 13 37 37 1 0 0 00 01 28 0 R3 9 在 PE 设备 R1 和 R3 上进行 ospf 与 bgp eigrp 与 bgp 的单点双向重分发 R4 config router os 14 R4 config router ro R4 config router router id 4 4 4 4 R4 config router net 14 1 1 0 0 0 0 255 a 0 R4 config router ex R4 config router os 14 R4 config router net 4 4 4 4 0 0 0 0 a 0 R4 config router R1 config router os 14 vrf abc R1 config router net 14 1 1 0 0 0 0 255 a 0 R5 config router ei 45 R5 config router net 45 1 1 0 R5 config router net 5 5 5 5 R5 config router no au R5 config router R1 sh ip rou vrf abc Routing Table abc Codes C connected S static R RIP M mobile B BGP D EIGRP EX EIGRP external O OSPF IA OSPF inter area N1 OSPF NSSA external type 1 N2 OSPF NSSA external type 2 E1 OSPF external type 1 E2 OSPF external type 2 i IS IS su IS IS summary L1 IS IS level 1 L2 IS IS level 2 ia IS IS inter area candidate default U per user static route o ODR P periodic downloaded static route Gateway of last resort is not set 4 0 0 0 32 is subnetted 1 subnets O 4 4 4 4 110 11 via 14 1 1 4 00 03 07 FastEthernet0 0 14 0 0 0 24 is subnetted 1 subnets C 14 1 1 0 is directly connected FastEthernet0 0 R1 在 R3 和 R5 之间运行 eigrp 并将其重分发 R3 config router ei 35 R3 config router address family ipv4 vrf abc R3 config router af autonomous system 35 R3 config router af net 35 1 1 0 0 0 0 255 R3 config router af no au R3 config router af R5 config router ei 35 R5 config router net 35 1 1 0 0 0 0 255 R5 config router net 5 5 5 5 0 0 0 0 R5 config router no au R5 config router R3 config router bgp 13 R3 config router ad R3 config router address family i R3 config router address family ipv4 vr R3 config router address family ipv4 vrf abc R3 config router af re R3 config router af redistribute ei 35 R3 config router af end R3 R3 config router ei 35 R3 config router address family ipv4 vrf abc R3 config router af

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论