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

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

路由反射器基本配置之RA

RA#sh run  
 
!  
 
!interface Loopback0  
 
ip address 1.1.1.1 255.255.255.0  
 
!  
 
interface Serial0  
 
ip address 192.1.1.1 255.255.255.0  
 
!  
 
router bgp 100  
 
no synchronization  
 
bgp log-neighbor-changes  
 
network 1.1.1.0 mask 255.255.255.0  
 
neighbor 192.1.1.2 remote-as 200  
 
no auto-summary  
 

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.

 

 

路由反射器基本配置之RB

RB#sh run  
 
!  
 
interface Loopback0  
 
ip address 2.2.2.2 255.255.255.0  
 
!  
 
interface Ethernet0  
 
ip address 193.1.1.1 255.255.255.0  
 
!  
 
interface Serial0  
 
ip address 192.1.1.2 255.255.255.0  
 
clockrate 64000  
 
!  
 
router ospf 1  //在RB上启动OSPF  
 
network 0.0.0.0 255.255.255.255 area 0  //宣告所有与RB相连的网络  
 
!  
 
router bgp 200  
 
no synchronization  
 
network 2.2.2.0 mask 255.255.255.0  
 
neighbor 192.1.1.1 remote-as 100  
 
neighbor 193.1.1.2 remote-as 200  
 
no auto-summary  
 

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.

#p#

路由反射器基本配置之RC

RC#sh run  
 
!  
 
interface Loopback0  
 
ip address 3.3.3.3 255.255.255.0  
 
!  
 
interface Ethernet0  
 
ip address 193.1.1.2 255.255.255.0  
 
!  
 
interface Serial0  
 
ip address 194.1.1.1 255.255.255.0  
 
clock rate 64000  
 
!  
 
router ospf 1  
 
log-adjacency-changes  
 
network 0.0.0.0 255.255.255.255 area 0     // 同RB  
 
!  
 
router bgp 200  
 
no synchronization  
 
bgp log-neighbor-changes  
 
network 3.3.3.0 mask 255.255.255.0  
 
neighbor 193.1.1.1 remote-as 200  
 
neighbor 194.1.1.2 remote-as 200  
 
no auto-summary  
 

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.

路由反射器基本配置之RD

RD#sh run  
 
interface Serial0  
 
ip address 194.1.1.2 255.255.255.0  
 
!  
 
router ospf 1                                          //同RB  
 
log-adjacency-changes  
 
network 0.0.0.0 255.255.255.255 area 0  
 
!  
 
router bgp 200  
 
no synchronization  
 
bgp log-neighbor-changes  
 
neighbor 194.1.1.1 remote-as 200  
 
no auto-summary  
 

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.

 路由反射器基本配置就介绍完了,下一节我们将会介绍: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:25

OSPF路由器

2011-04-01 09:40:32

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路由器

2011-09-07 12:36:40

路由器连接路由器

2009-12-31 10:28:20

VPN配置实例

2011-04-13 11:27:28

EIGRP路由

2011-08-16 11:22:09

EIGRP帧中继

2011-08-09 13:30:17

腾达无线路由器路由器无线
点赞
收藏

51CTO技术栈公众号