summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/hello-interval/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/ospf/hello-interval/node.def')
-rw-r--r--interface-templates/ip/ospf/hello-interval/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-templates/ip/ospf/hello-interval/node.def b/interface-templates/ip/ospf/hello-interval/node.def
new file mode 100644
index 00000000..9da68fb1
--- /dev/null
+++ b/interface-templates/ip/ospf/hello-interval/node.def
@@ -0,0 +1,8 @@
+type: u32
+help: Set interval between hello packets
+default: 10
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Must be between 1-65535"
+update:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip ospf hello-interval $VAR(@)"
+delete:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip ospf hello-interval"
+comp_help: possible completions:
+ <1-65535> Seconds (default 10)