summaryrefslogtreecommitdiff
path: root/interface-templates/ip/rip/authentication/plaintext-password/node.def
blob: b294ebd0e6334b98e9e6f5e937fc916828282c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type: txt
help: 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"
val_help: Password (16 characters or less)

update: vtysh -c "configure terminal" -c "interface $IFNAME" \
	-c "ip rip authentication mode text" \
	-c "ip rip authentication string $VAR(@)"

delete: vtysh -c "configure terminal" -c "interface $IFNAME" \
	-c "no ip rip authentication mode" \
	-c "no ip rip authentication string $VAR(@)"