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>
diff --git a/ospf6d/README b/ospf6d/README
index 6db347f..f5a0046 100644
--- a/ospf6d/README
+++ b/ospf6d/README
@@ -85,6 +85,15 @@
Binds interface to specified Area, and start
sending OSPFv3 packets.
+ auto-cost reference-bandwidth COST
+ 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.
+
Sample configuration is in ospf6d.conf.sample.
--