在IBGP邻居中,使用反射器减少IBGP邻居关系是一种最常用的网络结构,在上图中AS65001中有6台路由器,其中,R1和R2是一组反射器,配置如下:

R1:

!

interface Loopback0

ip address 10.255.255.1 255.255.255.255

ip router isis 10

!

interface GigabitEthernet1

ip address 10.10.6.1 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet2

ip address 10.10.4.1 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet3

ip address 10.10.7.1 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

router isis 10

net 49.0000.1025.5255.1000.00

is-type level-2-only

!

router bgp 65001

bgp router-id 10.255.255.1

bgp cluster-id 10.255.255.1

bgp log-neighbor-changes

bgp graceful-restart restart-time 120

bgp graceful-restart stalepath-time 360

bgp graceful-restart

bgp scan-time 15

neighbor as65001 peer-group

neighbor as65001 password cisco

neighbor as65001 update-source Loopback0

neighbor as65001 route-reflector-client

neighbor as65001 next-hop-self

neighbor 10.255.255.2 remote-as 65001

neighbor 10.255.255.2 peer-group as65001

neighbor 10.255.255.3 remote-as 65001

neighbor 10.255.255.3 peer-group as65001

neighbor 10.255.255.4 remote-as 65001

neighbor 10.255.255.4 peer-group as65001

neighbor 10.255.255.5 remote-as 65001

neighbor 10.255.255.5 peer-group as65001

neighbor 10.255.255.6 remote-as 65001

neighbor 10.255.255.6 peer-group as65001

!

R2:

!

interface Loopback0

ip address 10.255.255.2 255.255.255.255

ip router isis 10

!

interface GigabitEthernet1

ip address 10.10.6.2 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet2

ip address 10.10.5.1 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet3

ip address 10.10.8.1 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

router isis 10

net 49.0000.1025.5255.2000.00

is-type level-2-only

!

router bgp 65001

bgp router-id 10.255.255.2

bgp cluster-id 10.255.255.1

bgp log-neighbor-changes

bgp graceful-restart restart-time 120

bgp graceful-restart stalepath-time 360

bgp graceful-restart

bgp scan-time 15

neighbor as65001 peer-group

neighbor as65001 password cisco

neighbor as65001 update-source Loopback0

neighbor as65001 route-reflector-client

neighbor as65001 next-hop-self

neighbor 10.255.255.1 remote-as 65001

neighbor 10.255.255.1 peer-group as65001

neighbor 10.255.255.3 remote-as 65001

neighbor 10.255.255.3 peer-group as65001

neighbor 10.255.255.4 remote-as 65001

neighbor 10.255.255.4 peer-group as65001

neighbor 10.255.255.5 remote-as 65001

neighbor 10.255.255.5 peer-group as65001

neighbor 10.255.255.6 remote-as 65001

neighbor 10.255.255.6 peer-group as65001

!

R3:

!

interface Loopback0

ip address 10.255.255.3 255.255.255.255

ip router isis 10

!

interface GigabitEthernet1

ip address 10.10.3.1 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet2

ip address 10.10.4.2 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet3

ip address 10.10.1.1 255.255.255.252

negotiation auto

bfd interval 250 min_rx 250 multiplier 3

!

router isis 10

net 49.0000.1025.5255.3000.00

is-type level-2-only

!

router bgp 65001

bgp router-id 10.255.255.3

bgp log-neighbor-changes

bgp graceful-restart restart-time 120

bgp graceful-restart stalepath-time 360

bgp graceful-restart

bgp scan-time 15

neighbor 10.10.1.2 remote-as 65002

neighbor 10.10.1.2 password cisco

neighbor 10.10.1.2 fall-over bfd

neighbor 10.255.255.1 remote-as 65001

neighbor 10.255.255.1 password cisco

neighbor 10.255.255.1 update-source Loopback0

neighbor 10.255.255.1 next-hop-self

neighbor 10.255.255.2 remote-as 65001

neighbor 10.255.255.2 password cisco

neighbor 10.255.255.2 update-source Loopback0

neighbor 10.255.255.2 next-hop-self

!

R4:

!

interface Loopback0

ip address 10.255.255.4 255.255.255.255

ip router isis 10

!

interface GigabitEthernet1

ip address 10.10.3.2 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet2

ip address 10.10.5.2 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet3

ip address 10.10.2.1 255.255.255.252

negotiation auto

bfd interval 250 min_rx 250 multiplier 3

!

router isis 10

net 49.0000.1025.5255.4000.00

is-type level-2-only

!

router bgp 65001

bgp router-id 10.255.255.4

bgp log-neighbor-changes

bgp graceful-restart restart-time 120

bgp graceful-restart stalepath-time 360

bgp scan-time 15

neighbor 10.10.2.2 remote-as 65002

neighbor 10.10.2.2 password cisco

neighbor 10.10.2.2 fall-over bfd

neighbor 10.255.255.1 remote-as 65001

neighbor 10.255.255.1 password cisco

neighbor 10.255.255.1 update-source Loopback0

neighbor 10.255.255.1 next-hop-self

neighbor 10.255.255.2 remote-as 65001

neighbor 10.255.255.2 password cisco

neighbor 10.255.255.2 update-source Loopback0

neighbor 10.255.255.2 next-hop-self

!

R5:

!

interface Loopback0

ip address 10.255.255.5 255.255.255.255

ip router isis 10

!

interface GigabitEthernet1

ip address 10.10.9.1 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet3

ip address 10.10.7.2 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

router isis 10

net 49.0000.1025.5255.5000.00

is-type level-2-only

!

router bgp 65001

bgp router-id 10.255.255.5

bgp log-neighbor-changes

bgp graceful-restart restart-time 120

bgp graceful-restart stalepath-time 360

bgp scan-time 15

network 10.255.255.5 mask 255.255.255.255

neighbor 10.255.255.1 remote-as 65001

neighbor 10.255.255.1 password cisco

neighbor 10.255.255.1 update-source Loopback0

neighbor 10.255.255.1 next-hop-self

neighbor 10.255.255.2 remote-as 65001

neighbor 10.255.255.2 password cisco

neighbor 10.255.255.2 update-source Loopback0

neighbor 10.255.255.2 next-hop-self

!

R6:

interface Loopback0

ip address 10.255.255.6 255.255.255.255

ip router isis 10

!

interface GigabitEthernet1

ip address 10.10.9.2 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

interface GigabitEthernet3

ip address 10.10.8.2 255.255.255.252

ip router isis 10

negotiation auto

isis network point-to-point

isis password cisco

!

router isis 10

net 49.0000.1025.5255.6000.00

is-type level-2-only

!

router bgp 65001

bgp router-id 10.255.255.6

bgp log-neighbor-changes

bgp graceful-restart restart-time 120

bgp graceful-restart stalepath-time 360

bgp scan-time 15

network 10.255.255.6 mask 255.255.255.255

neighbor 10.255.255.1 remote-as 65001

neighbor 10.255.255.1 password cisco

neighbor 10.255.255.1 update-source Loopback0

neighbor 10.255.255.1 next-hop-self

neighbor 10.255.255.2 remote-as 65001

neighbor 10.255.255.2 password cisco

neighbor 10.255.255.2 update-source Loopback0

neighbor 10.255.255.2 next-hop-self

!

R7:

interface Loopback0

ip address 10.255.255.7 255.255.255.255

!

interface GigabitEthernet1

ip address 10.10.1.2 255.255.255.252

negotiation auto

bfd interval 250 min_rx 250 multiplier 3

!

interface GigabitEthernet2

ip address 10.10.2.2 255.255.255.252

negotiation auto

bfd interval 250 min_rx 250 multiplier 3

!

router bgp 65002

bgp router-id 10.255.255.7

bgp log-neighbor-changes

bgp graceful-restart restart-time 120

bgp graceful-restart stalepath-time 360

bgp graceful-restart

bgp scan-time 15

network 10.255.255.7 mask 255.255.255.255

neighbor 10.10.1.1 remote-as 65001

neighbor 10.10.1.1 password cisco

neighbor 10.10.1.1 fall-over bfd

neighbor 10.10.2.1 remote-as 65001

neighbor 10.10.2.1 password cisco

neighbor 10.10.2.1 fall-over bfd

!

在RR1上查看BGP邻居建立情况,如下图:

在RR2上查看BGP邻居建立情况,如下图:

规划设计要点:

  1. 网络中两台独立的路由器做RR,并且属于一个cluster
  2. 两台rr不承担流量转发的工作

IBGP规划的更多相关文章

  1. eBGP&iBGP 总结

    3.4 BGP 原文地址:http://mp.weixin.qq.com/s?src=3&timestamp=1500043305&ver=1&signature=XwiIVV ...

  2. shell脚本规划化模板

    shell脚本规划化模板 Linux运维过程中,shell脚本是不可缺少的工具,但是每个运维人员编程的习惯都不一样,很多时候就是实现某个功能,写出来的脚本都是烂七八糟的.脚本必须规范化,应该从以后几个 ...

  3. IT基础架构规划方案一(网络系统规划)

    背景                   某集团经过多年的经营,公司业务和规模在不断发展,公司管理层和IT部门也认识到通过信息化手段可以更好地支撑公司业务运营.提高企业生产和管理效率.同时随着新建办公 ...

  4. 攻城记:Thinkphp框架的项目规划总结和踩坑经验

    一.项目模块规划 1.项目分为PC端.移动端.和PC管理端,分为对应目录为 /Application/Home,/Application/Mobile,/Application/Admin: 对应入口 ...

  5. 【BZOJ-3627】路径规划 分层图 + Dijkstra + spfa

    3627: [JLOI2014]路径规划 Time Limit: 30 Sec  Memory Limit: 128 MBSubmit: 186  Solved: 70[Submit][Status] ...

  6. Google地图路线规划

    Google地图路线规划: 需求:给定的两点之间Google地图路径规划和详情. 代码实现: //map定义省略 var directionsDisplay = new google.maps.Dir ...

  7. R语言 批量规划求解

    昨天读到一个项目,是关于优化求解的. 约束条件如下: 公司里有很多客户,客户之所以不继续用我们的产品了,是因为他账户余额是负的,所以,为了重新赢回这些客户,公司决定发放优惠券cover掉客户账户的负余 ...

  8. Java职业生涯规划

    java学习这一部分其实也算是今天的重点,这一部分用来回答很多群里的朋友所问过的问题,那就是我你是如何学习Java的,能不能给点建议?今天我是打算来点干货,因此咱们就不说一些学习方法和技巧了,直接来谈 ...

  9. 第二天ci项目规划 数据库设计

    第二天ci项目规划 数据库设计 商品 + 用户 + 订单 数据库设计思想和方法 关于商品品牌 ,分类 ,属性 如何表示 用一个字段 还是再设计一张表 品牌和商品 是一种信息 还是两种信息 一张表一般只 ...

随机推荐

  1. java服务端的 极光推送

    项目中用到了极光推送  下面写下笔记 首先引入jar包   下载地址https://docs.jiguang.cn/jpush/resources/(非maven项目的下载地址) <depend ...

  2. Visual Studio 2017 常用快捷键

    1.窗口快捷键 Ctrl+W,W: 浏览器窗口 Ctrl+W,S: 解决方案管理器 (Solution) Ctrl+W,C: 类视图 (Class) Ctrl+W,E: 错误列表 (Error) Ct ...

  3. 从npm 角度理解 mvn 的 pom.xml

    从npm 角度理解 mvn 的 pom.xml pom -- project object model. 用于描述项目的配置: 基础说明 依赖 如何构建运行 类似 node.js 的 package. ...

  4. 二维数组的查找(JAVA)

    二维数组查找 解题思路:找到该二维数组的特殊点,易知该二维数组左下角的那个点很特殊.从这个点往右看,数值都在变大:而往上看,数值都在变小.所以 我们可以将这个点的索引设为起点(i,j),当比目标数大时 ...

  5. JS 模拟 重载

    重载:方法,根据传入的参数列表不同,执行不同的任务. 比如:functiion jz(money){ //现金结账:验钞,找零 }     function jz(cardId,pwd){ //刷卡结 ...

  6. range的新发现

    正向打印的时候 for i in range(2): print(i) 打印的结果 0 1 反向的时候 for i in range(2,-1,-1): print(i) 2 1 0 for i in ...

  7. HBase各版本对Hadoop版本的支持情况

    转载自:http://blog.csdn.net/sunny05296/article/details/54089194 安装HBase时,要考虑选择正确的Hadoop版本,否则可能出现不兼容的情况. ...

  8. NetCore 控制台读取配置文件

    依赖: Microsoft.Extensions.Configuration Microsoft.Extensions.Configuration.Binder Microsoft.Extension ...

  9. 使用pageoffice进行多个文档的合并

    提前给test模板文件中 手动插入一个书签,因为pageoffice必须有一个书签后,才能在后台进行书签的创建 //多个word文件进行合并 string strCopyFolder = System ...

  10. .net updatePannel 局部刷新效果实现后,但是仍是全部刷新的修改方法

    最近做了一个小例子,就是晚上都有的那种小的updatepannel的局部刷新的小例子,但是发现按照那个例子虽然能够实现label2的局部刷新,但是看上去效果确实整个页面都在刷新,这让人很头疼,所以我在 ...