有关Juniper Router中 Aggregated Route和Generated Route

1846阅读 0评论2009-02-12 gdlwx
分类:系统运维

学习 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
上一篇:有关kickstart配置进行RHEL 5无人值守系统安装的学习
下一篇:有關ASA的Object Group