实例解析BGP基本配置之路由反射器(2)

网络
本文通过一个案例介绍了BGP基本配置中路由反射器的配置过程,希望通过以下的介绍,大家能够有所收获。

路由反射器基本配置之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) 
责任编辑:佚名 来源: 网络转载
相关推荐

2011-04-08 09:14:04

BGP

2011-04-08 09:26:53

BGP路由器

2011-03-14 17:26:29

BGP

2011-04-01 10:07:04

2011-03-14 17:02:36

BGP

2011-04-13 16:15:49

路由协议路由器路由

2011-04-01 09:40:28

OSPF路由器

2011-04-01 09:40:32

OSPF路由器

2011-04-01 09:40:25

OSPF路由器

2011-04-01 10:06:58

OSPF路由器

2011-04-01 10:11:25

OSPF路由器

2009-12-02 10:34:04

华为路由器配置实例

2011-08-16 10:50:35

DHCP路由器配置

2011-03-07 17:34:35

IGRP

2011-04-01 10:07:01

OSPF路由器

2009-12-31 10:28:20

VPN配置实例

2011-09-07 12:36:40

路由器连接路由器

2011-08-16 11:22:09

EIGRP帧中继

2011-08-09 13:30:17

腾达无线路由器路由器无线

2011-04-13 11:27:28

EIGRP路由
点赞
收藏

51CTO技术栈公众号