quagga.j2 602 B

12345678910111213141516
  1. # vtysh
  2. conf t
  3. router bgp 20766
  4. neighbor {{ neighbor_ipv4 }} remote-as {{ neighbor_as }}
  5. neighbor {{ neighbor_ipv4 }} peer-group {{ ix4_name }}
  6. neighbor {{ neighbor_ipv4 }} description "====== {{ description }}"
  7. {%- if limit_ipv4 %}
  8. neighbor {{ neighbor_ipv4 }} maximum-prefix {{ limit_ipv4 }}
  9. {%- endif %}
  10. neighbor {{ neighbor_ipv6 }} remote-as {{ neighbor_as }}
  11. neighbor {{ neighbor_ipv6 }} description "====== {{ description }}"
  12. address-family ipv6
  13. neighbor {{ neighbor_ipv6 }} peer-group {{ ix6_name }}
  14. {%- if limit_ipv6 %}
  15. neighbor {{ neighbor_ipv6 }} maximum-prefix {{ limit_ipv6 }}
  16. {%- endif %}