EIGRP等价负载和不等价负载均衡

  • A+
所属分类:Route

等价负载均衡:
R1# show ip route
D 172.28.0.0/16 [90/33280] via 192.168.12.2, 00:00:15, FastEthernet0/1
[90/33280] via 192.168.13.3, 00:00:15, FastEthernet1/0
不等价负载均衡
查看端口带宽:R1#show interface fastethernet 0/1
修改端口带宽:
R1(config)#interface f0/1
R1(config-if)#bandwidth 10000 (kb为单位,由100M修改为10M)
查看下修改端口带宽后的路由表:
R1# show ip route
D 172.28.0.0/16 [90/33280] via 192.168.13.3, 00:13:58, FastEthernet1/0
去拓扑表中查看下拓扑表:
R1#show ip eigrp topology
P 172.28.0.0/16, 1 successors, FD is 33280
via 192.168.13.3 (33280/30720), FastEthernet1/0
via 192.168.12.2 (263680/30720), FastEthernet0/1 (由于度量值较大,没有显示在路由表中)
33280*8=266240>263680所有可以用8或者8以上的数字。
R1(config-router)#variance 8 (最佳路径8倍以内的可以放入路由表,也就是小于266240的可以放入)
R1(config-router)#do show ip route
D 172.28.12.0 [90/33280] via 192.168.13.3, 00:00:17, FastEthernet1/0
[90/263680] via 192.168.12.2, 00:00:14, FastEthernet0/1

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: