diff options
3 files changed, 15 insertions, 7 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 723bd94a..15e09b12 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 @@ -13,7 +13,7 @@ delete:vyatta-vtysh --noerror \ -c "configure terminal" -c "interface $IFNAME" \ -c "no ip rip authentication mode md5" \ -c "no ip rip authentication key-chain $IFNAME-rip" \ - -c "no key chain $IFNAME-rip" " + -c "no key chain $IFNAME-rip" comp_help: possible completions: <text> MD5 Key (16 characters or less) diff --git a/interface-templates/ip/rip/authentication/plaintext-password/node.def b/interface-templates/ip/rip/authentication/plaintext-password/node.def index 595ae910..b223e61c 100644 --- a/interface-templates/ip/rip/authentication/plaintext-password/node.def +++ b/interface-templates/ip/rip/authentication/plaintext-password/node.def @@ -3,11 +3,15 @@ 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" \ - -c "ip rip authentication mode text" -c "ip rip authentication string $VAR(@)"; +update: vyatta-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" \ - -c "no ip rip authentication mode" -c "no ip rip authentication string $VAR(@)"; +delete: vyatta-vtysh \ + -c "configure terminal" -c "interface $IFNAME" \ + -c "no ip rip authentication mode" \ + -c "no ip rip authentication string $VAR(@)" comp_help: possible completions: <text> Password (16 characters or less) diff --git a/interface-templates/ip/rip/split-horizon/disable/node.def b/interface-templates/ip/rip/split-horizon/disable/node.def index 10c57ba4..55e8a0d1 100644 --- a/interface-templates/ip/rip/split-horizon/disable/node.def +++ b/interface-templates/ip/rip/split-horizon/disable/node.def @@ -1,6 +1,10 @@ help: Disable split horizon on specified interface -create:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "no ip rip split-horizon " -delete:vyatta-vtysh -c "configure terminal" -c "interface $IFNAME" -c "ip rip split-horizon " " +create:vyatta-vtysh \ + -c "configure terminal" -c "interface $IFNAME" \ + -c "no ip rip split-horizon" +delete:vyatta-vtysh \ + -c "configure terminal" -c "interface $IFNAME" \ + -c "ip rip split-horizon" commit:expression: ($VAR(../poison-reverse/) == ""); \ "You cannot have 'split-horizon poison-reverse' enabled with 'split-horizon' disabled for $IFNAME" |