diff options
author | Vincent Bernat <bernat@luffy.cx> | 2012-10-24 16:45:53 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-03-21 06:28:47 +0100 |
commit | c19543b223d3b8463c048f346b8044589e0cce39 (patch) | |
tree | 7da71baef36e7c7b4e628c645580f8cc18c1aabe /doc | |
parent | ospf6d: solve segfaults with ospf6d on FreeBSD (diff) | |
download | frr-c19543b223d3b8463c048f346b8044589e0cce39.tar.xz frr-c19543b223d3b8463c048f346b8044589e0cce39.zip |
ospf6d: compute interface cost from its bandwidth
Previously, the interface cost was a fixed default value that a user
was allowed to change with "ipv6 ospf6 cost XX". As what is done with
OSPFv2, we change this behaviour to compute the default interface cost
from the interface bandwidth.
The user can still force a cost with "ipv6 ospf6 cost XX". He can get
the default value with "no ipv6 ospf6 cost". Moreover, the default
cost value was 1. The cost is now computed from the bandwidth and a
default reference bandwidth of 100 MBps (as for OSPFv2). Since the
default bandwidth for an interface is 10 MBps, the "default" cost
becomes 10 instead of 1.
[DL: resolved conflict in ospf6d/ospf6_interface.c]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ospf6d.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/ospf6d.texi b/doc/ospf6d.texi index d981820c7..d9bf06ddd 100644 --- a/doc/ospf6d.texi +++ b/doc/ospf6d.texi @@ -75,7 +75,7 @@ Area support for OSPFv3 is not yet implemented. @section OSPF6 interface @deffn {Interface Command} {ipv6 ospf6 cost COST} {} -Sets interface's output cost. Default value is 1. +Sets interface's output cost. Default value depends on the interface bandwidth. @end deffn @deffn {Interface Command} {ipv6 ospf6 hello-interval HELLOINTERVAL} {} |