ospf auto-cost reference-bandwidth 是用来修改默认度量值的命令.一般默认情况下就是:ospf auto-cost reference-bandwidth 100 这时100M和1G的链路上metric都是1 而如果是:ospf auto-cost reference-bandwidth 1000 这时100M是10,而1G的链路就是1.所以这题的答案就是5 ...
于是auto-cost reference-bandwidth就被引入了进来。它的出现通过人为的改变参照值实现可以在1000M或者更高的链路上实现OSPF 的cost值自动计算。 例如:auto-cost reference-bandwidth 10000 被设定后,对于千兆链路而言,就会自动计算其cost值为cost=10000*10^6/(1000*10^6)=10;而对于10G的链路而言,也会自动的计算其...
是这个意思:(10000×(10∧6))/bandwidth,这个bandwidth即是sh inter e0/s0所查到的带宽。因此,show ip ospf interface s1 即(10000×(10∧6))/1544K=6476; show ip ospf interface e0 即(10000×(10∧6))/(10∧7)=1000。 不知这个理解是否正确? LKP:auto-cost reference-bandwidth 这个命令是改变OSPF...
auto-cost reference-bandwidth 的应用(2) OSPF之auto-cost reference-bandwidth的应用 在OSPF的使用过程中,当链路中的带宽(端口的带宽)不一致时,为了防止设备自动计算cost值出现失误,我们往往手动的通过更改auto-cost的值来实现人为控制路由选路(ip ospf cost也可以达到人为选路的目的),现在我们以一个实例来说下auto-...
ospf auto-cost reference-bandwidthvalueno ospf auto-cost reference-bandwidthvalue Configures How OSPF calculates default metrics Default 100 Mb Description The default OSPF metric is calculated by dividing the reference bandwidth by the bandwidth of the interface. The default value of the reference bandw...