EIGRP路由汇总和OSPF路由汇总配置
来源:优易学  2011-12-2 10:01:12   【优易学:中国教育考试门户网】   资料下载   IT书店
EIGRP配置:

core#configure terminal
core(config)#router eigrp f10
core(config-router)#network 192.168.10.0
core(config-router)#network 10.0.0.0
core(config-router)#no auto-summary
core(config-router)#interface ethernet 0
core(config-if)#ip summary-address eigrp 10 192.168.10.64 255.255.255.224

  由于EIGRP在有类边界上会自动汇总,因此必须要使用no auto-summary命令。

  OSPF配置:

core#configure terminal
core(config)#router ospf 1
core (config-router)#network 192.168.10.64 0.0.0.3 area 1
core(config-router)#network 192.168.10.68 0.0.0.3 area 1
core(config-router)#network 10.10.10.0 0.0.0.255 area 0
core(config-router)#area 1 range 192.168.10.64 255.255.255.224

  由于OSPF在默信时并不去汇总任何边界,因此不需要配置no auto-summary命令。

责任编辑:小草

文章搜索:
 相关文章
热点资讯
热门课程培训