blob: 5707ec4fbfb0a5a5076eb87188bdff9cf770c945 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
help: Set OSPF SPF timers
delete: touch /tmp/ospf-timer.$PPID
end: if [ -f "/tmp/ospf-timer.$PPID" ]; then
${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
-c "router ospf" \
-c "no timers throttle spf";
rm /tmp/ospf-timer.$PPID;
else
${vyatta_sbindir}/vyatta-vtysh.pl -c "configure terminal" \
-c "router ospf" \
-c "timers throttle spf $VAR(delay/@) $VAR(initial-holdtime/@) $VAR(max-holdtime/@)";
fi;
|