summaryrefslogtreecommitdiff
path: root/templates/protocols/bgp
diff options
context:
space:
mode:
Diffstat (limited to 'templates/protocols/bgp')
-rw-r--r--templates/protocols/bgp/node.tag/timers/holdtime/node.def7
-rw-r--r--templates/protocols/bgp/node.tag/timers/keepalive/node.def6
2 files changed, 11 insertions, 2 deletions
diff --git a/templates/protocols/bgp/node.tag/timers/holdtime/node.def b/templates/protocols/bgp/node.tag/timers/holdtime/node.def
index 06ebfd09..cc9709e8 100644
--- a/templates/protocols/bgp/node.tag/timers/holdtime/node.def
+++ b/templates/protocols/bgp/node.tag/timers/holdtime/node.def
@@ -1,3 +1,8 @@
type: u32
help: Holdtime interval
-syntax:expression: $VAR(@) == 0 || ($VAR(@) >= 4 && $VAR(@) <= 65535); "Holdtime interval must be 0 or between 4 and 65535"
+default: 180
+syntax:expression: $VAR(@) == 0 || ($VAR(@) >= 4 && $VAR(@) <= 65535); \
+ "Holdtime interval must be 0 or between 4 and 65535"
+comp_help: possible completions:
+ 0
+ <4-65535> Set holdtime interval (default 180)
diff --git a/templates/protocols/bgp/node.tag/timers/keepalive/node.def b/templates/protocols/bgp/node.tag/timers/keepalive/node.def
index 3d68ba94..a734b860 100644
--- a/templates/protocols/bgp/node.tag/timers/keepalive/node.def
+++ b/templates/protocols/bgp/node.tag/timers/keepalive/node.def
@@ -1,3 +1,7 @@
type: u32
help: Keepalive interval
-syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; "Keepalive interval must be between 1 and 65535"
+default: 60
+syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 65535; \
+ "Keepalive interval must be between 1 and 65535"
+comp_help: possible completions:
+ <1-65535> Set keepalive interval (default 60)