diff options
Diffstat (limited to 'templates/protocols/rip')
-rw-r--r-- | templates/protocols/rip/node.def | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/protocols/rip/node.def b/templates/protocols/rip/node.def index 38d3da1a..f1a08cc5 100644 --- a/templates/protocols/rip/node.def +++ b/templates/protocols/rip/node.def @@ -1,4 +1,7 @@ help: Configure Routing Information Protocol (RIP) parameters -create:expression: "vyatta-vtysh -c \"configure terminal\" -c \"router rip\" " -delete:expression: "vyatta-vtysh -c \"configure terminal\" -c \"no router rip\" " +create: /opt/vyatta/sbin/vyatta-protocol start rip + vyatta-vtysh -c "configure terminal" -c "router rip" +delete: vyatta-vtysh -c "configure terminal" -c "no router rip" + /opt/vyatta/sbin/vyatta-protocol stop rip + |