summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/default-information
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/rip/default-information')
-rw-r--r--templates/protocols/rip/default-information/node.def1
-rw-r--r--templates/protocols/rip/default-information/originate/node.def6
2 files changed, 7 insertions, 0 deletions
diff --git a/templates/protocols/rip/default-information/node.def b/templates/protocols/rip/default-information/node.def
new file mode 100644
index 00000000..e7e295cd
--- /dev/null
+++ b/templates/protocols/rip/default-information/node.def
@@ -0,0 +1 @@
+help: "Control distribution of default route"
diff --git a/templates/protocols/rip/default-information/originate/node.def b/templates/protocols/rip/default-information/originate/node.def
new file mode 100644
index 00000000..97fe83aa
--- /dev/null
+++ b/templates/protocols/rip/default-information/originate/node.def
@@ -0,0 +1,6 @@
+help: "Distribute a default route"
+create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
+ -c \"default-information originate\" "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
+ -c \"no default-information originate\" "
+