From 6a58c1175a40d3afcb3ca7164852465011cfd544 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 10 Dec 2007 18:07:41 -0800 Subject: Redo RIP cli to remove interface/network requirement. --- templates/protocols/rip/neighbor/node.def | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 templates/protocols/rip/neighbor/node.def (limited to 'templates/protocols/rip/neighbor/node.def') diff --git a/templates/protocols/rip/neighbor/node.def b/templates/protocols/rip/neighbor/node.def new file mode 100644 index 00000000..1b4d7ce5 --- /dev/null +++ b/templates/protocols/rip/neighbor/node.def @@ -0,0 +1,8 @@ +multi: +type: ipv4 +help: "Specify a neighbor router" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \ + -c \"neighbor $(@)\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router rip\" \ + -c \"no neighbor $(@)\"; " + -- cgit v1.2.3