Authorisation des ip des dhcp légitimes
This commit is contained in:
parent
d1b4f56913
commit
adf81b8b3a
2 changed files with 7 additions and 1 deletions
|
@ -88,6 +88,11 @@ aaa port-access mac-based addr-format multi-colon
|
|||
no cdp run
|
||||
{%- if additionals.dhcp_snooping_vlans %}
|
||||
;--- DHCP Snooping ---
|
||||
{%- for server in additionals.dhcp_servers %}
|
||||
{%- for interface in server.interface %}
|
||||
dhcp-snooping authorized-server {{ interface.ipv4 }}
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
dhcp-snooping vlan {{ additionals.dhcp_snooping_vlans|join(' ') }}
|
||||
dhcp-snooping
|
||||
{%- endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue