From d9acdd40c863f7fb0c2473e83aa2314d15687185 Mon Sep 17 00:00:00 2001 From: Mihail Vasilev Date: Thu, 14 Apr 2016 05:46:04 +0000 Subject: Q26. Added filter on locally installed routes. --- templates/protocols/ospf/route-map/node.def | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/protocols/ospf/route-map/node.def (limited to 'templates/protocols/ospf') diff --git a/templates/protocols/ospf/route-map/node.def b/templates/protocols/ospf/route-map/node.def new file mode 100644 index 00000000..2a877608 --- /dev/null +++ b/templates/protocols/ospf/route-map/node.def @@ -0,0 +1,6 @@ +type: txt +help: Filter routes installed in local route map +commit:expression: exec "/opt/vyatta/sbin/vyatta_quagga_utils.pl --exists \"policy route-map $VAR(@)\" ";"route-map $VAR(@) doesn't exist" +end: vtysh -c "configure terminal" \ + -c "no ip protocol ospf route-map" \ + -c "ip protocol ospf route-map $VAR(@)" -- cgit v1.2.3