From 6a58c1175a40d3afcb3ca7164852465011cfd544 Mon Sep 17 00:00:00 2001
From: Stig Thormodsrud <stig@vyatta.com>
Date: Mon, 10 Dec 2007 18:07:41 -0800
Subject: Redo RIP cli to remove interface/network requirement.

---
 templates/protocols/rip/default-metric/node.def | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 templates/protocols/rip/default-metric/node.def

(limited to 'templates/protocols/rip/default-metric/node.def')

diff --git a/templates/protocols/rip/default-metric/node.def b/templates/protocols/rip/default-metric/node.def
new file mode 100644
index 00000000..8151814e
--- /dev/null
+++ b/templates/protocols/rip/default-metric/node.def
@@ -0,0 +1,8 @@
+type: u32
+help: "Set metric of redistributed routes"
+syntax: $(@) >= 1 && $(@) <= 16; "Must be between 1-16"
+update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
+        -c \"default-metric $(@) \"; "
+delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \
+        -c \"no default-metric $(@) \"; "
+#comp_help <1-16>  Default metric
-- 
cgit v1.2.3

