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/log-adjacency-changes/detail/node.def | 6 ++++++ templates/protocols/ospf/log-adjacency-changes/node.def | 5 +++++ 2 files changed, 11 insertions(+) create mode 100644 templates/protocols/ospf/log-adjacency-changes/detail/node.def create mode 100644 templates/protocols/ospf/log-adjacency-changes/node.def (limited to 'templates/protocols/ospf/log-adjacency-changes') diff --git a/templates/protocols/ospf/log-adjacency-changes/detail/node.def b/templates/protocols/ospf/log-adjacency-changes/detail/node.def new file mode 100644 index 00000000..9ec797d7 --- /dev/null +++ b/templates/protocols/ospf/log-adjacency-changes/detail/node.def @@ -0,0 +1,6 @@ +help: "Log all state changes" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"log-adjacency-changes detail\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no log-adjacency-changes detail\"; " + diff --git a/templates/protocols/ospf/log-adjacency-changes/node.def b/templates/protocols/ospf/log-adjacency-changes/node.def new file mode 100644 index 00000000..f33fe807 --- /dev/null +++ b/templates/protocols/ospf/log-adjacency-changes/node.def @@ -0,0 +1,5 @@ +help: "Log changes in adjacency state" +create: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"log-adjacency-changes\"; " +delete: "/usr/bin/vtysh -c \"configure terminal\" -c \"router ospf\" \ + -c \"no log-adjacency-changes\"; " -- cgit v1.2.3