From 1a9535e68042f67087cd400523dc42103292c2fe Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 13 Nov 2007 20:45:58 -0800 Subject: Add yet more OSPF configuration. --- templates/protocols/ospf/distance/global/node.def | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 templates/protocols/ospf/distance/global/node.def (limited to 'templates/protocols/ospf/distance/global/node.def') diff --git a/templates/protocols/ospf/distance/global/node.def b/templates/protocols/ospf/distance/global/node.def new file mode 100644 index 00000000..6b45a976 --- /dev/null +++ b/templates/protocols/ospf/distance/global/node.def @@ -0,0 +1,9 @@ +type: u32 +help: "OSPF administrative distance" +syntax: $(@) >= 1 && $(@) <= 255; "Must be between 1-255" +update: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"distance $(@) \"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no distance $(@) \"; " + + -- cgit v1.2.3