summaryrefslogtreecommitdiff
path: root/interface-templates/ip/rip/authentication/md5
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/rip/authentication/md5')
-rw-r--r--interface-templates/ip/rip/authentication/md5/node.def2
-rw-r--r--interface-templates/ip/rip/authentication/md5/node.tag/password/node.def6
2 files changed, 3 insertions, 5 deletions
diff --git a/interface-templates/ip/rip/authentication/md5/node.def b/interface-templates/ip/rip/authentication/md5/node.def
index 8d165fe6..ad45eb1b 100644
--- a/interface-templates/ip/rip/authentication/md5/node.def
+++ b/interface-templates/ip/rip/authentication/md5/node.def
@@ -1,6 +1,6 @@
tag:
type: u32
-help: Set MD5 authentication key ID
+help: MD5 authentication parameters
syntax:expression: $VAR(@) >= 1 && $VAR(@) <= 255; \
"ID must be between 1 and 255"
diff --git a/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def b/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def
index 8ee5c39f..07ca2a41 100644
--- a/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def
+++ b/interface-templates/ip/rip/authentication/md5/node.tag/password/node.def
@@ -1,6 +1,7 @@
type: txt
-help: Set authentication password
+help: Authentication password
syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "MD5 key must be 16 characters or less"
+val_help: MD5 Key (16 characters or less)
update:vtysh \
-c "configure terminal" -c "interface $IFNAME" \
@@ -14,6 +15,3 @@ delete:vtysh --noerror \
-c "no ip rip authentication mode md5" \
-c "no ip rip authentication key-chain $IFNAME-rip" \
-c "no key chain $IFNAME-rip"
-
-comp_help: possible completions:
- <text> MD5 Key (16 characters or less)