Chinaunix首页 | 论坛 | 博客
  • 博客访问: 226478
  • 博文数量: 171
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 1795
  • 用 户 组: 普通用户
  • 注册时间: 2008-12-15 14:01
文章分类

全部博文(171)

文章存档

2010年(1)

2009年(168)

2008年(2)

我的朋友

分类: 系统运维

2009-02-12 11:26:22

学习 JNCIA Study Guide  chapter 3, 对 Aggregated Route 和 Gennerated Route
 
这两个概念不是很理解,故作笔记如下,加深印象:
 

    1.下一跳只有discard和reject,需要至少一条被汇总的明细路由存在于路由于中时,聚合路由才会出现在路由表中,使用show route protocol aggregate detail可以查看到被汇总的明细路由:
    192.168.0.0/17 (1 entry, 1 announced)
     *Aggregate Preference: 130 #聚合路由的优先级为130
     Next hop type: Reject
     Task: Aggregate
     AS path: I (LocalAgg)
     Contributing Routes (3):    #被聚合的路由
     192.168. 16.0/24 proto Static
     192.168.32.0/24 proto Static
     192.168.48.0/24 proto Static
  2.brief:只有最长的as-pash被转换到聚合路由中。
  3.community:把BGP中的团队属性放到聚合路由中。
  4.policy:默认所有的被聚合路由包含的明细路由都会变成Contributing Routes,policy可以决定只有确定的路由可以成为Contributing Routes。
 

    和聚合路由一样,但可以指定明确的下一跳地址。查看路由时也显示为聚合,但带有下一跳地址。下一跳为discard和reject的明细路由不会成为Contributing Routes,而生产路由需要选择一个前缀数字最小的明细路由做为主Contributing Routes路由,其属性由主Contributing Routes决定。使用命令:
     show route protocol aggregate detail
      192.168.0.0/16 (1 entry, 1 announced)
      *Aggregate Preference: 130
      Nexthop: 3.3.3.2 via fe-0/0/2.0, selected
      Contributing Routes (4):
      192.168.16.0/24 proto IS-IS  #显示为第一个的为主Contributing Routes
      192.168.32.24/30 proto Static
      192.168.32.48/30 proto Static
      192.168.48.0/24 proto IS-IS
阅读(1748) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~