summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/max-metric/router-lsa/on-shutdown/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/max-metric/router-lsa/on-shutdown/node.def')
-rw-r--r--templates/protocols/ospf/max-metric/router-lsa/on-shutdown/node.def8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/protocols/ospf/max-metric/router-lsa/on-shutdown/node.def b/templates/protocols/ospf/max-metric/router-lsa/on-shutdown/node.def
new file mode 100644
index 00000000..8f8343a5
--- /dev/null
+++ b/templates/protocols/ospf/max-metric/router-lsa/on-shutdown/node.def
@@ -0,0 +1,8 @@
+type: u32
+help: "Advertise stub-router prior to full shutdown of OSPF"
+syntax: $(@) >= 5 && $(@) <= 86400; "must be between 5-86400 seconds"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"max-metric router-lsa on-shutdown $(@)\"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no max-metric router-lsa on-shutdown \"; "
+#comp_help: Time (seconds) to advertise self as stub-router"