summaryrefslogtreecommitdiff
path: root/interface-templates/ip/rip/authentication/plaintext-password/node.def
blob: b223e61cd5f85d43a360465d91626e8902569fd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
type: txt
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(@)"

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)