summaryrefslogtreecommitdiff
path: root/interface-templates/ip/rip/authentication
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/rip/authentication')
-rw-r--r--interface-templates/ip/rip/authentication/md5/node.tag/password/node.def4
-rw-r--r--interface-templates/ip/rip/authentication/plaintext-password/node.def6
2 files changed, 4 insertions, 6 deletions
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 15e09b12..8ee5c39f 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
@@ -2,14 +2,14 @@ type: txt
help: Set authentication password
syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "MD5 key must be 16 characters or less"
-update:vyatta-vtysh \
+update:vtysh \
-c "configure terminal" -c "interface $IFNAME" \
-c "ip rip authentication mode md5" \
-c "ip rip authentication key-chain $IFNAME-rip" \
-c "key chain $IFNAME-rip" -c "key $VAR(../@)" \
-c "key-string $VAR(@)"
-delete:vyatta-vtysh --noerror \
+delete:vtysh --noerror \
-c "configure terminal" -c "interface $IFNAME" \
-c "no ip rip authentication mode md5" \
-c "no ip rip authentication key-chain $IFNAME-rip" \
diff --git a/interface-templates/ip/rip/authentication/plaintext-password/node.def b/interface-templates/ip/rip/authentication/plaintext-password/node.def
index b223e61c..addf2473 100644
--- a/interface-templates/ip/rip/authentication/plaintext-password/node.def
+++ b/interface-templates/ip/rip/authentication/plaintext-password/node.def
@@ -3,13 +3,11 @@ help: Set plain text password
syntax:expression: pattern $VAR(@) "^[^[:space:]]{1,16}$" ; "Password must be 16 characters or less"
commit:expression: $VAR(../md5/) == "" ; "md5 password already set"
-update: vyatta-vtysh \
- -c "configure terminal" -c "interface $IFNAME" \
+update: vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "ip rip authentication mode text" \
-c "ip rip authentication string $VAR(@)"
-delete: vyatta-vtysh \
- -c "configure terminal" -c "interface $IFNAME" \
+delete: vtysh -c "configure terminal" -c "interface $IFNAME" \
-c "no ip rip authentication mode" \
-c "no ip rip authentication string $VAR(@)"