summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorVincent Bernat <bernat@luffy.cx>2012-10-24 16:45:54 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2014-03-21 06:28:48 +0100
commitfd5006896fce2816244c1ef4cabc736279548538 (patch)
treec9fb889019186c6aa7c800643f3ff1d9171a96a7 /doc
parentospf6d: compute interface cost from its bandwidth (diff)
downloadfrr-fd5006896fce2816244c1ef4cabc736279548538.tar.xz
frr-fd5006896fce2816244c1ef4cabc736279548538.zip
ospf6d: add "auto-cost reference-bandwidth" command
This command allows the user to change to default reference bandwidth for cost calculations. The default value is 100 Mbps. With a default bandwidth of 10 MBps, the default cost becomes 10. Those values are consistent with OSPFv2. [DL: resolved conflicts in vty command additions & docs] Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/ospf6d.texi15
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/ospf6d.texi b/doc/ospf6d.texi
index d9bf06ddd..31f4db0cc 100644
--- a/doc/ospf6d.texi
+++ b/doc/ospf6d.texi
@@ -66,6 +66,18 @@ within the hold-time of the previous SPF calculation.
@end deffn
+@deffn {OSPF6 Command} {auto-cost reference-bandwidth @var{cost}} {}
+@deffnx {OSPF6 Command} {no auto-cost reference-bandwidth} {}
+This sets the reference bandwidth for cost calculations, where this
+bandwidth is considered equivalent to an OSPF cost of 1, specified in
+Mbits/s. The default is 100Mbit/s (i.e. a link of bandwidth 100Mbit/s
+or higher will have a cost of 1. Cost of lower bandwidth links will be
+scaled with reference to this cost).
+
+This configuration setting MUST be consistent across all routers
+within the OSPF domain.
+@end deffn
+
@node OSPF6 area
@section OSPF6 area
@@ -75,7 +87,8 @@ 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 depends on the interface bandwidth.
+Sets interface's output cost. Default value depends on the interface
+bandwidth and on the auto-cost reference bandwidth.
@end deffn
@deffn {Interface Command} {ipv6 ospf6 hello-interval HELLOINTERVAL} {}