diff options
author | Mihail Vasilev <mick@corp.linkintel.ru> | 2016-04-14 05:46:04 +0000 |
---|---|---|
committer | UnicronNL <kim.sidney@gmail.com> | 2017-10-22 22:24:12 +0200 |
commit | 046995cd6118bbdb9daa2b86d7f25bd4d1da349a (patch) | |
tree | 00a6fa3708dbdd6ff004d45941db10988d98abfb /templates | |
parent | 99d94d9e5ca8794d73e3cf70e089ce027b62ee46 (diff) | |
download | vyatta-cfg-quagga-046995cd6118bbdb9daa2b86d7f25bd4d1da349a.tar.gz vyatta-cfg-quagga-046995cd6118bbdb9daa2b86d7f25bd4d1da349a.zip |
Q26. Added filter on locally installed routes.
Diffstat (limited to 'templates')
-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(@)" |