diff options
Diffstat (limited to 'templates/protocols/ospf/max-metric/router-lsa/on-startup/node.def')
-rw-r--r-- | templates/protocols/ospf/max-metric/router-lsa/on-startup/node.def | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/protocols/ospf/max-metric/router-lsa/on-startup/node.def b/templates/protocols/ospf/max-metric/router-lsa/on-startup/node.def new file mode 100644 index 00000000..1f7603ec --- /dev/null +++ b/templates/protocols/ospf/max-metric/router-lsa/on-startup/node.def @@ -0,0 +1,9 @@ +type: u32 +help: "Automatically advertise stub Router-LSA on startup 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-startup $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no max-metric router-lsa on-startup \"; " +#comp_help: Time (seconds) to advertise self as stub-router" + |