diff options
Diffstat (limited to 'templates/protocols/ospf/refresh')
-rw-r--r-- | templates/protocols/ospf/refresh/node.def | 1 | ||||
-rw-r--r-- | templates/protocols/ospf/refresh/timers/node.def | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/templates/protocols/ospf/refresh/node.def b/templates/protocols/ospf/refresh/node.def new file mode 100644 index 00000000..0885963f --- /dev/null +++ b/templates/protocols/ospf/refresh/node.def @@ -0,0 +1 @@ +help: "Adjust refresh parameters" diff --git a/templates/protocols/ospf/refresh/timers/node.def b/templates/protocols/ospf/refresh/timers/node.def new file mode 100644 index 00000000..dfbb22e5 --- /dev/null +++ b/templates/protocols/ospf/refresh/timers/node.def @@ -0,0 +1,8 @@ +type: u32 +help: "Set refresh timer" +syntax: $(@) >= 10 && $(@) <= 1800; "must be between 10-1800" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no refresh timer\" -c \"refresh timer $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no refresh timer $(@)\"; " +#comp_help: <10-1800> Timer value in seconds |