文档详情

bgp的路由反射器.pdf

发布:2020-10-20约8.84千字共20页下载文档
文本预览下载声明
实验五:BGP 的路由反射器 实验目标: 1.熟练 BGP 的基本配置 2.掌握 BGP 路由反射器的原理 实验 TOP : 物理拓扑(原错误拓扑图) 物理拓扑(修改后的拓扑结构) 逻辑拓扑 基本配置: R1 的配置: 01 ! 02 03 hostname r1 04 05 ! 06 07 interface Loopback0 08 09 ip address 1.1.1.1 255.255.255.0 10 11 ! 12 13 interface Ethernet0/0 14 15 no shu 16 17 ! 18 19 interface Ethernet0/0.14 20 21 encapsulation dot1Q 14 22 23 ip address 10.1.1.1 255.255.255.0 24 25 no shu 26 27 ! 28 29 interface Ethernet0/0.15 30 31 encapsulation dot1Q 15 32 33 ip address 20.1.1.1 255.255.255.0 34 35 no shu 36 37 ! 38 39 interface Serial1/0 40 41 ip address 12.1.1.1 255.255.255.0 42 43 no shu 44 45 ! 46 47 interface Serial2/0 48 49 ip address 13.1.1.1 255.255.255.0 50 51 no shu 52 53 ! 54 55 router ospf 10 56 57 network 10.1.1.0 0.0.0.255 area 0 58 59 network 12.1.1.0 0.0.0.255 area 0 60 61 network 13.1.1.0 0.0.0.255 area 0 62 63 network 20.1.1.0 0.0.0.255 area 0 64 65 ! 66 67 router bgp 10 68 69 no synchronization 70 71 bgp router-id 1.1.1.1 72 73 network 1.1.1.0 mask 255.255.255.0 74 75 neighbor 10.1.1.4 remote-as 20 76 77 neighbor 12.1.1.2 remote-as 10 78 79 neighbor 13.1.1.3 remote-as 10 80 81 neighbor 20.1.1.5 remote-as 10 82 83 no auto-summary 84 85 ! 86 87 88 line con 0 89 90 exec-timeout 0 0 91 92 logging synchronous 93 94 ! R2 的配置: 01 ! 02 03 hostname r2 04 05 ! 06 07 interface Loopback0 08 09 ip address 2.2.2.2 255.255.255.0 10 11 ! 12 13 ! 14 15 interface Serial2/0 16 17 ip address 12.1.1.2 255.255.255.0 18 19 no shu 20 21 ! 22 23 router ospf 10 24 25 network 12.1.1.0 0.0.0.255 area 0 26 27 ! 28 29 route
显示全部
相似文档