diff options
author | Mihail Vasilev <mick@corp.linkintel.ru> | 2016-04-14 05:46:04 +0000 |
---|---|---|
committer | Mihail Vasilev <mick@corp.linkintel.ru> | 2016-04-14 05:46:04 +0000 |
commit | d9acdd40c863f7fb0c2473e83aa2314d15687185 (patch) | |
tree | 2f6375998ab62a2c2ab3b7b4c62797e7ba5e1438 /templates/protocols/ospf/route-map | |
parent | 67b61011221cf658948c5f0f3157bf73d4d9c6da (diff) | |
download | vyatta-cfg-quagga-d9acdd40c863f7fb0c2473e83aa2314d15687185.tar.gz vyatta-cfg-quagga-d9acdd40c863f7fb0c2473e83aa2314d15687185.zip |
Q26. Added filter on locally installed routes.
Diffstat (limited to 'templates/protocols/ospf/route-map')
-rw-r--r-- | templates/protocols/ospf/route-map/node.def | 6 |
1 files changed, 6 insertions, 0 deletions
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(@)" |