ospf.conf.j2 867 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. define FFDO_subnet_new =
  2. [
  3. 10.0.0.0/8+
  4. ];
  5. define FFDO_subnet_old =
  6. [
  7. 10.233.0.0/18+
  8. ];
  9. define AS31371_nets =
  10. [
  11. 91.204.4.0/22{24,32},
  12. 195.160.168.0/23+,
  13. 193.43.221.0/24+
  14. ];
  15. protocol ospf ospf5 {
  16. # import where net ~ AS31371_nets || net ~ FFDO_subnet_old;
  17. import where net ~ FFDO_subnet_old;
  18. export filter {
  19. if net ~ FFDO_subnet_new then {
  20. ospf_metric1 = 10;
  21. accept;
  22. }
  23. reject;
  24. };
  25. area 0.0.0.0 {
  26. interface "{{secondary_vnic}}" {
  27. cost 10;
  28. type broadcast;
  29. hello 10;
  30. retransmit 5;
  31. dead 40;
  32. wait 10;
  33. };
  34. };
  35. };