summaryrefslogtreecommitdiff
path: root/templates/protocols/ripng/redistribute
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/ripng/redistribute')
-rw-r--r--templates/protocols/ripng/redistribute/bgp/metric/node.def2
-rw-r--r--templates/protocols/ripng/redistribute/connected/metric/node.def5
-rw-r--r--templates/protocols/ripng/redistribute/kernel/metric/node.def2
-rw-r--r--templates/protocols/ripng/redistribute/ospfv3/metric/node.def2
-rw-r--r--templates/protocols/ripng/redistribute/static/metric/node.def2
5 files changed, 10 insertions, 3 deletions
diff --git a/templates/protocols/ripng/redistribute/bgp/metric/node.def b/templates/protocols/ripng/redistribute/bgp/metric/node.def
index 6c402ef0..4e2fee24 100644
--- a/templates/protocols/ripng/redistribute/bgp/metric/node.def
+++ b/templates/protocols/ripng/redistribute/bgp/metric/node.def
@@ -1,4 +1,6 @@
type: u32
help: Set metric for redistributed routes
+val_help: u32:1-16; Redistribute route metric
+
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; \
"metric must be between 1 and 16"
diff --git a/templates/protocols/ripng/redistribute/connected/metric/node.def b/templates/protocols/ripng/redistribute/connected/metric/node.def
index 101e24f9..e2c104a6 100644
--- a/templates/protocols/ripng/redistribute/connected/metric/node.def
+++ b/templates/protocols/ripng/redistribute/connected/metric/node.def
@@ -1,6 +1,5 @@
type: u32
help: Set metric for redistributed routes
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
-
-
+val_help: u32:1-16; Redistribute route metric
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
diff --git a/templates/protocols/ripng/redistribute/kernel/metric/node.def b/templates/protocols/ripng/redistribute/kernel/metric/node.def
index ad569327..e2c104a6 100644
--- a/templates/protocols/ripng/redistribute/kernel/metric/node.def
+++ b/templates/protocols/ripng/redistribute/kernel/metric/node.def
@@ -1,3 +1,5 @@
type: u32
help: Set metric for redistributed routes
+val_help: u32:1-16; Redistribute route metric
+
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
diff --git a/templates/protocols/ripng/redistribute/ospfv3/metric/node.def b/templates/protocols/ripng/redistribute/ospfv3/metric/node.def
index 6ed582ad..8d752e7d 100644
--- a/templates/protocols/ripng/redistribute/ospfv3/metric/node.def
+++ b/templates/protocols/ripng/redistribute/ospfv3/metric/node.def
@@ -1,4 +1,6 @@
type: u32
help: Set metric for redistributed routes
+val_help: u32:1-16; Redistribute route metric
+
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"
diff --git a/templates/protocols/ripng/redistribute/static/metric/node.def b/templates/protocols/ripng/redistribute/static/metric/node.def
index ad569327..e2c104a6 100644
--- a/templates/protocols/ripng/redistribute/static/metric/node.def
+++ b/templates/protocols/ripng/redistribute/static/metric/node.def
@@ -1,3 +1,5 @@
type: u32
help: Set metric for redistributed routes
+val_help: u32:1-16; Redistribute route metric
+
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 16; "metric must be between 1 and 16"