summaryrefslogtreecommitdiff
path: root/interface-templates/ip/ospf/authentication/plaintext-password/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/ospf/authentication/plaintext-password/node.def')
-rw-r--r--interface-templates/ip/ospf/authentication/plaintext-password/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface-templates/ip/ospf/authentication/plaintext-password/node.def b/interface-templates/ip/ospf/authentication/plaintext-password/node.def
index 41ead9f0..d6b10e35 100644
--- a/interface-templates/ip/ospf/authentication/plaintext-password/node.def
+++ b/interface-templates/ip/ospf/authentication/plaintext-password/node.def
@@ -1,10 +1,10 @@
type: txt
-help: Configure plain text password
+help: Plain text password
syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,8}$" ; "Password must be 8 characters or less"
+val_help: Plain text password (8 characters or less)
+
update:vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf authentication " -c "ip ospf authentication " \
-c "ip ospf authentication-key $VAR(@)"
delete:vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip ospf authentication " -c "no ip ospf authentication-key"
-comp_help: possible completions:
- <text> Plain text password (8 characters or less)