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 /ospf6d/README | |
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 'ospf6d/README')
-rw-r--r-- | ospf6d/README | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/README b/ospf6d/README index 883486fa0..6db347f9b 100644 --- a/ospf6d/README +++ b/ospf6d/README @@ -60,7 +60,7 @@ CONFIG NODE: INTERFACE NODE: ipv6 ospf6 cost COST - Sets the interface's output cost. default 1 + Sets the interface's output cost. Depends on interface bandwidth by default. ipv6 ospf6 hello-interval HELLOINTERVAL Sets the interface's Hello Interval. default 10 |