summaryrefslogtreecommitdiff
path: root/templates/protocols/ospf/default-metric
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ospf/default-metric')
-rw-r--r--templates/protocols/ospf/default-metric/node.def12
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/protocols/ospf/default-metric/node.def b/templates/protocols/ospf/default-metric/node.def
index 8549f529..f6ea1542 100644
--- a/templates/protocols/ospf/default-metric/node.def
+++ b/templates/protocols/ospf/default-metric/node.def
@@ -1,7 +1,11 @@
type: u32
help: Set metric of redistributed routes
syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 16777214; "Must be between 0-16777214"
-update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
- -c \"default-metric $VAR(@) \"; "
-delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" -c \"router ospf\" \
- -c \"no default-metric $VAR(@) \"; "
+update:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
+ -c \"default-metric $VAR(@) \"; "
+delete:expression: "${vyatta_sbindir}/vyatta-vtysh.pl -c \"configure terminal\" \
+ -c \"router ospf\" \
+ -c \"no default-metric $VAR(@) \"; "
+comp_help: possible completions:
+ <0-16777214> Set metric of redistributed routes