OSPF E2E1区别详解.pptVIP

  • 98
  • 0
  • 约3.26千字
  • 约 14页
  • 2017-03-25 发布于广东
  • 举报
OSPFE2amp;E1区别详解.ppt

控制ASBR产生外部LSA的类型 外部LSA的Metric-type说明 外部LSA的默认Metric-type 如果不指定明确的Metric-type类型,那么ASBR产生的外部LSA默认类型为E2. 控制ASBR产生外部LSA的类型 外部LSA的Metric-type说明 1.修改重发布产生的所有外部LSA类型 控制ASBR产生外部LSA的类型 外部LSA的Metric-type说明 2.选择性修改重发布产生的外部LSA类型 外部路由的Metric说明 RFC 2328 16.4中的描述 外部路由的Metric说明 E1/E2类型路由的Metric计算 外部路由的Metric比较 外部路由的Metric比较 外部路由的Metric比较 E1/E2路由的优选 E1优于E2路由 E1路由之间比较 外部路由的Metric比较 E1/E2路由的优选 E2路由之间比较 外部路由的Metric比较 E1/E2路由的优选 E2路由之间比较 查看本地达到产生外部LSA的ASBR/FA的Metric OSPF E2E1区别详解 技术培训中心 修订记录 修订日期 修订版本 修订描述 作者 2009-09-15 V1.0 初稿完成。 高志岩 学习目标 掌握OSPF E2\E1两种路由的区别 r1(config)#router ospf 1 r1(config-router)#redistribute static subnets metric-type ? 1 Set OSPF External Type 1 metrics 2 Set OSPF External Type 2 metrics r1(config-router)#default-information originate metric-type ? 1-2 OSPF Link State type access-list 1 per route-map ABC permit 10 match ip address 1 set metric-type type-1 router ospf 1 redistribute static subnets route-map ABC Let X be the cost specified by the preferred routing table entry for the ASBR/forwarding address, and Y the cost specified in the LSA. X is in terms of the link state metric, and Y is a type 1 or 2 external metric. X:本地到达ASBR的Metric(路径Cost) Y:外部LSA本身携带的Metric,可通过如下命令进行修改 r1(config)#router ospf 1 r1(config-router)#default-information originate metric ? 0 OSPF metric r1(config-router)#redistribute static subnets metric ? 0 OSPF default metric r1(config-router)#redistribute rip subnets route-map ABC route-map ABC permit 10 match ip address 1 set metric 100 If the external metric type is 1, then the path-type is set to type 1 external and the cost is equal to X+Y. If the external metric type is 2, the path-type is set to type 2 external, the link state component of the routes cost is X, and the type 2 cost is Y. 类型1外部LSA在加载路由表时,形成的路由条目的Metric为外部LSA中携带的Metric+本地到达ASBR的Metric. 类型2外部LSA在加载路由表时,形成的路由条目的Metric仅为外部LSA中携带的Metric. Cost 10 Cost 20 Cost 30 /8 E1,Metric=20 /8 E1,Metric=10 /8 E1,Metric=10 会优选哪条LSA? Cost 10 C

文档评论(0)

1亿VIP精品文档

相关文档