summaryrefslogtreecommitdiff
path: root/templates/protocols/rip/timers/node.def
blob: db2562b00cfc6dc24f6cadd6333497de8d80e39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
help: Set RIP timer values
delete:expression: "touch /tmp/rip-timers.$PPID"
end:expression: "vyatta-vtysh        \
    -c \"configure terminal\" -c \"router rip\"           \
    -c \"no timers basic\";                               \
    if [ -f \"/tmp/rip-timers.$PPID\" ]; then             \
       rm -rf /tmp/rip-timers.$PPID;                      \
    else                                                  \
       vyatta-vtysh                  \
        -c \"configure terminal\" -c \"router rip\"       \
        -c \"timers basic $VAR(./update/@)                \
                          $VAR(./timeout/@)               \
                          $VAR(./garbage-collection/@)\"; \
    fi; "