Gestion igmp et mld par vlans

This commit is contained in:
chirac 2018-07-08 20:31:04 +02:00
parent 610a43c919
commit a477b2a889
2 changed files with 23 additions and 1 deletions

View file

@ -62,6 +62,15 @@ vlan {{ id }}
{%- else %}
no ipv6 enable
{%- endif %}
{%- if id in additionals.igmp_vlans %}
ip igmp
no ip igmp querier
{%- endif %}
{%- if id in additionals.mld_vlans %}
no ipv6 mld querier
ipv6 mld version 1
ipv6 mld enable
{%- endif %}
exit
{%- endfor %}
;--- Accès d'administration ---
@ -81,6 +90,16 @@ loop-protect disable-timer 30
loop-protect transmit-interval 3
loop-protect {{ additionals.loop_protected|join(' ') }}
{%- endif %}
;--- Serveurs Radius
radius-server dead-time 2
{%- for server in additionals.radius_servers %}
{%- for interface in server.interface %}
{%- if switch.subnet.0.vlan_id == interface.vlan_id %}
radius-server host {{ interface.ipv4 }} key "plop"
radius-server host {{ interface.ipv4 }} dyn-authorization
{%- endif %}
{%- endfor %}
{%- endfor %}
radius-server dyn-autz-port 3799
;--- Filtrage mac ---
aaa port-access mac-based addr-format multi-colon