summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/bandwidth/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/ospf/bandwidth/node.def')
-rw-r--r--interface-templates/ip/ospf/bandwidth/node.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/interface-templates/ip/ospf/bandwidth/node.def b/interface-templates/ip/ospf/bandwidth/node.def
new file mode 100644
index 00000000..1f77079f
--- /dev/null
+++ b/interface-templates/ip/ospf/bandwidth/node.def
@@ -0,0 +1,7 @@
+type: u32
+help: Set bandwidth for specified interface (kilobits/sec)
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 10000000; "Must be between 1-10000000"
+update: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "bandwidth $VAR(@)"
+delete: vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no bandwidth"
+comp_help: possible completions:
+ <1-10000000> Set bandwidth in kilobits/sec (for calculating OSPF cost)