summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/auto-cost/reference-bandwidth/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/auto-cost/reference-bandwidth/node.def')
-rw-r--r--templates/protocols/ospf/auto-cost/reference-bandwidth/node.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/protocols/ospf/auto-cost/reference-bandwidth/node.def b/templates/protocols/ospf/auto-cost/reference-bandwidth/node.def
new file mode 100644
index 00000000..6fc9076f
--- /dev/null
+++ b/templates/protocols/ospf/auto-cost/reference-bandwidth/node.def
@@ -0,0 +1,5 @@
+type: u32
+help: "Use reference bandwidth method to assign OSPF cost in Mbits/sec"
+syntax: $(@) >= 1 && $(@) <= 4294967; "Must be between 1-4294967"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" -c \"auto-cost reference-bandwidth $(@) \"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" -c \"no auto-cost reference-bandwidth \"; "