summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/router-id
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/router-id')
-rw-r--r--templates/protocols/ospf/router-id/node.def6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/protocols/ospf/router-id/node.def b/templates/protocols/ospf/router-id/node.def
new file mode 100644
index 00000000..b5072ccd
--- /dev/null
+++ b/templates/protocols/ospf/router-id/node.def
@@ -0,0 +1,6 @@
+type: ipv4; "router-id must be a IPv4 address"
+help: "Override the default router identifier"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"ospf router-id $(@)\" "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \
+ -c \"no ospf router-id \" "