diff options
Diffstat (limited to 'templates/protocols/ripng/default-metric/node.def')
-rw-r--r-- | templates/protocols/ripng/default-metric/node.def | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/protocols/ripng/default-metric/node.def b/templates/protocols/ripng/default-metric/node.def new file mode 100644 index 00000000..85463d28 --- /dev/null +++ b/templates/protocols/ripng/default-metric/node.def @@ -0,0 +1,13 @@ +type: u32 +help: Set metric of redistributed routes +syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "Must be between 1-16" + +update: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ripng" \ + -c "default-metric $VAR(@)" + +delete: ${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \ + -c "router ripng" \ + -c "no default-metric $VAR(@)" + +comp_help <1-16> Default metric |