您的位置:首页 > 其它

EIGRP路由汇总和OSPF路由汇总配置

2008-11-19 08:05 591 查看
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命令。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: