实例解析BGP基本配置之路由反射器(2)
创始人
2024-07-25 10:51:55
0

路由反射器基本配置之RA

  1. RA#sh run  
  2.  
  3. !  
  4.  
  5. !interface Loopback0  
  6.  
  7. ip address 1.1.1.1 255.255.255.0  
  8.  
  9. !  
  10.  
  11. interface Serial0  
  12.  
  13. ip address 192.1.1.1 255.255.255.0  
  14.  
  15. !  
  16.  
  17. router bgp 100  
  18.  
  19. no synchronization  
  20.  
  21. bgp log-neighbor-changes  
  22.  
  23. network 1.1.1.0 mask 255.255.255.0  
  24.  
  25. neighbor 192.1.1.2 remote-as 200  
  26.  
  27. no auto-summary  
  28.  

 

 

路由反射器基本配置之RB

  1. RB#sh run  
  2.  
  3. !  
  4.  
  5. interface Loopback0  
  6.  
  7. ip address 2.2.2.2 255.255.255.0  
  8.  
  9. !  
  10.  
  11. interface Ethernet0  
  12.  
  13. ip address 193.1.1.1 255.255.255.0  
  14.  
  15. !  
  16.  
  17. interface Serial0  
  18.  
  19. ip address 192.1.1.2 255.255.255.0  
  20.  
  21. clockrate 64000  
  22.  
  23. !  
  24.  
  25. router ospf 1  //在RB上启动OSPF  
  26.  
  27. network 0.0.0.0 255.255.255.255 area 0  //宣告所有与RB相连的网络  
  28.  
  29. !  
  30.  
  31. router bgp 200  
  32.  
  33. no synchronization  
  34.  
  35. network 2.2.2.0 mask 255.255.255.0  
  36.  
  37. neighbor 192.1.1.1 remote-as 100  
  38.  
  39. neighbor 193.1.1.2 remote-as 200  
  40.  
  41. no auto-summary  
  42.  

#p#

路由反射器基本配置之RC

  1. RC#sh run  
  2.  
  3. !  
  4.  
  5. interface Loopback0  
  6.  
  7. ip address 3.3.3.3 255.255.255.0  
  8.  
  9. !  
  10.  
  11. interface Ethernet0  
  12.  
  13. ip address 193.1.1.2 255.255.255.0  
  14.  
  15. !  
  16.  
  17. interface Serial0  
  18.  
  19. ip address 194.1.1.1 255.255.255.0  
  20.  
  21. clock rate 64000  
  22.  
  23. !  
  24.  
  25. router ospf 1  
  26.  
  27. log-adjacency-changes  
  28.  
  29. network 0.0.0.0 255.255.255.255 area 0     // 同RB  
  30.  
  31. !  
  32.  
  33. router bgp 200  
  34.  
  35. no synchronization  
  36.  
  37. bgp log-neighbor-changes  
  38.  
  39. network 3.3.3.0 mask 255.255.255.0  
  40.  
  41. neighbor 193.1.1.1 remote-as 200  
  42.  
  43. neighbor 194.1.1.2 remote-as 200  
  44.  
  45. no auto-summary  
  46.  

路由反射器基本配置之RD

  1. RD#sh run  
  2.  
  3. interface Serial0  
  4.  
  5. ip address 194.1.1.2 255.255.255.0  
  6.  
  7. !  
  8.  
  9. router ospf 1                                          //同RB  
  10.  
  11. log-adjacency-changes  
  12.  
  13. network 0.0.0.0 255.255.255.255 area 0  
  14.  
  15. !  
  16.  
  17. router bgp 200  
  18.  
  19. no synchronization  
  20.  
  21. bgp log-neighbor-changes  
  22.  
  23. neighbor 194.1.1.1 remote-as 200  
  24.  
  25. no auto-summary  
  26.  

 路由反射器基本配置就介绍完了,下一节我们将会介绍:BGP的检查配置

【编辑推荐】

  1. 路由器故障:广域网故障处理分析
  2. 初学者必看:CISCO路由器教程讲解
  3. 浅析路由器设置如何彻底实现DDoS防御
  4. 熟练使用cisco rommon维护路由器 上篇
  5. 实例解析BGP基本配置之路由反射器(1) 

相关内容

热门资讯

如何允许远程连接到MySQL数... [[277004]]【51CTO.com快译】默认情况下,MySQL服务器仅侦听来自localhos...
如何利用交换机和端口设置来管理... 在网络管理中,总是有些人让管理员头疼。下面我们就将介绍一下一个网管员利用交换机以及端口设置等来进行D...
施耐德电气数据中心整体解决方案... 近日,全球能效管理专家施耐德电气正式启动大型体验活动“能效中国行——2012卡车巡展”,作为该活动的...
20个非常棒的扁平设计免费资源 Apple设备的平面图标PSD免费平板UI 平板UI套件24平图标Freen平板UI套件PSD径向平...
Windows恶意软件20年“... 在Windows的早期年代,病毒游走于系统之间,偶尔删除文件(但被删除的文件几乎都是可恢复的),并弹...
德国电信门户网站可实时显示全球... 德国电信周三推出一个门户网站,直观地实时提供其安装在全球各地的传感器网络检测到的网络攻击状况。该网站...
为啥国人偏爱 Mybatis,... 关于 SQL 和 ORM 的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行...
《非诚勿扰》红人闫凤娇被曝厕所... 【51CTO.com 综合消息360安全专家提醒说,“闫凤娇”、“非诚勿扰”已经被黑客盯上成为了“木...