summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/redistribute/node.def
diff options
context:
space:
mode:
authorroot <root@debianlenny.sici.thales.no>2009-02-09 13:28:52 +0100
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-11 10:43:53 -0800
commit79dd5282b0462b3b116248821a58cdfc0a597812 (patch)
tree714e83a5ea80879f7f89a2e95bba902c01df59ba /templates/protocols/ospfv3/redistribute/node.def
parent2ba836d922e7393a3d3e3715b7fd94c4b7ef6622 (diff)
downloadvyatta-cfg-quagga-79dd5282b0462b3b116248821a58cdfc0a597812.tar.gz
vyatta-cfg-quagga-79dd5282b0462b3b116248821a58cdfc0a597812.zip
Initial commit of config commands for ospfv3
Diffstat (limited to 'templates/protocols/ospfv3/redistribute/node.def')
-rw-r--r--templates/protocols/ospfv3/redistribute/node.def10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/protocols/ospfv3/redistribute/node.def b/templates/protocols/ospfv3/redistribute/node.def
new file mode 100644
index 00000000..4d7d1bcc
--- /dev/null
+++ b/templates/protocols/ospfv3/redistribute/node.def
@@ -0,0 +1,10 @@
+multi:
+type: txt
+help: Set route type to redistribute
+allowed: echo "static kernel connected ripng bgp"
+create:expression: "vyatta-vtysh -c \"configure terminal\" \
+ -c \"router ospf6 \" \
+ -c \"redistribute $VAR(@) \"; "
+delete:expression: "vyatta-vtysh -c \"configure terminal\" \
+ -c \"router ospf6 \" \
+ -c \"no redistribute $VAR(@) \"; "